[Distutils] install_requires option to force pypi url or a better approach?

2009-12-18 Thread Aljoša Mohorović
i've setup private pypi where i can upload some packages that are not suitable for pypi.python.org. my package, let's call it myapp, contains install_requires=['django',] but with that requirement i can't install it. -- $ virtualenv

Re: [Distutils] install_requires option to force pypi url or a better approach?

2009-12-18 Thread Aljoša Mohorović
2009/12/18 Tarek Ziadé ziade.ta...@gmail.com: Have you tried --extra-index-url ? This allows you to add extra indexes i can define pypi.example.com in requirements.txt or via command line options for pip but i'm trying to define it in setup.py. is it unreasonable to expect option in setup.py to

Re: [Distutils] install_requires option to force pypi url or a better approach?

2009-12-18 Thread Tarek Ziadé
2009/12/18 Aljoša Mohorović aljosa.mohoro...@gmail.com: 2009/12/18 Tarek Ziadé ziade.ta...@gmail.com: Have you tried --extra-index-url ? This allows you to add extra indexes i can define pypi.example.com in requirements.txt or via command line options for pip but i'm trying to define it in

Re: [Distutils] install_requires option to force pypi url or a better approach?

2009-12-18 Thread Aljoša Mohorović
Makes sense, I'll try to adapt. Thanks for info On Dec 18, 2009 7:14 PM, Tarek Ziadé ziade.ta...@gmail.com wrote: 2009/12/18 Aljoša Mohorović aljosa.mohoro...@gmail.com: 2009/12/18 Tarek Ziadé ziade.ta...@gmail.com: Have you tried --extra-index-url ? This allows ... Usually a setup.py script

Re: [Distutils] install_requires option to force pypi url or a better approach?

2009-12-18 Thread P.J. Eby
At 06:12 PM 12/18/2009 +0100, Aljoša Mohorović wrote: i've setup private pypi where i can upload some packages that are not suitable for pypi.python.org. my package, let's call it myapp, contains install_requires=['django',] but with that requirement i can't install it.

Re: [Distutils] install_requires option to force pypi url or a better approach?

2009-12-18 Thread Tarek Ziadé
On Fri, Dec 18, 2009 at 11:58 PM, P.J. Eby p...@telecommunity.com wrote: [..] You would probably be better off using the find_links option in your setup(), to indicate additional URLs where packages can be found.  e.g. find_links=['http://pypi.example.com/somepackage',