Re: How to turn a package into something pip can install

2014-02-16 Thread Mark Lawrence
On 16/02/2014 15:20, MRAB wrote: On 2014-02-16 15:06, Mark Lawrence wrote: On 16/02/2014 14:25, Roy Smith wrote: We tend not to upgrade stuff unless there's a good reason to. You never know what will break (looking furtively in the direction of the Python 3.x mafiosi). Yeah, those really u

Re: How to turn a package into something pip can install

2014-02-16 Thread MRAB
On 2014-02-16 15:06, Mark Lawrence wrote: On 16/02/2014 14:25, Roy Smith wrote: We tend not to upgrade stuff unless there's a good reason to. You never know what will break (looking furtively in the direction of the Python 3.x mafiosi). Yeah, those really unpleasant, nasty, horrible mafiosi

Re: How to turn a package into something pip can install

2014-02-16 Thread Mark Lawrence
On 16/02/2014 14:25, Roy Smith wrote: We tend not to upgrade stuff unless there's a good reason to. You never know what will break (looking furtively in the direction of the Python 3.x mafiosi). Yeah, those really unpleasant, nasty, horrible mafiosi who have the audacity to point out that p

Re: How to turn a package into something pip can install

2014-02-16 Thread Roy Smith
In article , Chris Angelico wrote: > On Sun, Feb 16, 2014 at 11:18 PM, Chris “Kwpolska” Warrick > wrote: > > On Sat, Feb 15, 2014 at 11:35 PM, Roy Smith wrote: > >> Maybe this is something which has changed in newer versions of pip? > >> I've got 1.1 (and python 2.7.3). I'm pretty sure bo

Re: How to turn a package into something pip can install

2014-02-16 Thread Chris Angelico
On Sun, Feb 16, 2014 at 11:18 PM, Chris “Kwpolska” Warrick wrote: > On Sat, Feb 15, 2014 at 11:35 PM, Roy Smith wrote: >> Maybe this is something which has changed in newer versions of pip? >> I've got 1.1 (and python 2.7.3). I'm pretty sure both of these are what >> came with Ubuntu Precise. >

Re: How to turn a package into something pip can install

2014-02-16 Thread Chris “Kwpolska” Warrick
On Sat, Feb 15, 2014 at 11:35 PM, Roy Smith wrote: > In article , > Roy Smith wrote: > >> > > $ pip install --no-index --quiet --find-links packages metar==1.4.0 >> > [snip] >> > > ValueError: unknown url type: packages >> > >> > The path to your cache directory is incorrect. I suggest using >>

Re: How to turn a package into something pip can install

2014-02-15 Thread Roy Smith
In article , Roy Smith wrote: > > > $ pip install --no-index --quiet --find-links packages metar==1.4.0 > > [snip] > > > ValueError: unknown url type: packages > > > > The path to your cache directory is incorrect. I suggest using > > absolute paths (eg. /home/user/packages) instead of relativ

Re: How to turn a package into something pip can install

2014-02-15 Thread Roy Smith
In article , Chris “Kwpolska” Warrick wrote: > On Sat, Feb 15, 2014 at 3:26 AM, Roy Smith wrote: > > In article , > > Ryan Gonzalez wrote: > > > >> python setup.py sdist > > > > OK, I run that and I get a metar-1.4.0.tar.gz under dist. If I move > > that tarfile to my packages directory,

Re: How to turn a package into something pip can install

2014-02-15 Thread Chris “Kwpolska” Warrick
On Sat, Feb 15, 2014 at 3:26 AM, Roy Smith wrote: > In article , > Ryan Gonzalez wrote: > >> python setup.py sdist > > OK, I run that and I get a metar-1.4.0.tar.gz under dist. If I move > that tarfile to my packages directory, and run pip, I get: > > $ pip install --no-index --quiet --find-lin

Re: How to turn a package into something pip can install

2014-02-14 Thread Roy Smith
In article , Ryan Gonzalez wrote: > python setup.py sdist OK, I run that and I get a metar-1.4.0.tar.gz under dist. If I move that tarfile to my packages directory, and run pip, I get: $ pip install --no-index --quiet --find-links packages metar==1.4.0 Exception in thread Thread-1: Traceback

Re: How to turn a package into something pip can install

2014-02-14 Thread Ryan Gonzalez
python setup.py sdist On Fri, Feb 14, 2014 at 7:47 PM, Roy Smith wrote: > I want to use (https://github.com/timetric/python-metar). Our > deployment process more or less requires that it be installed via pip. > We maintain our own cache of packages and install using: > > pip install --no-inde

How to turn a package into something pip can install

2014-02-14 Thread Roy Smith
I want to use (https://github.com/timetric/python-metar). Our deployment process more or less requires that it be installed via pip. We maintain our own cache of packages and install using: pip install --no-index --quiet --find-links packages --requirement requirements.txt What I can't figu