[Distutils] Not picking Older version eggs

2009-12-18 Thread devyan parmar
Hi, I am using buildout for my project development as well as for deployment. which makes process easy and help in repeatability. but facing one problem while choosing particular versions of eggs while running buildout. i have eggified my python packages and releasing version wise. i have created

Re: [Distutils] Install egg from SVN sources = AttributeError: 'module' object has no attribute '__getstate__'

2009-12-18 Thread Eemeli Kantola
2009/12/18 P.J. Eby p...@telecommunity.com: At 06:10 PM 12/17/2009 +0200, Eemeli Kantola wrote: Hi all, I'm getting a crash in setuptools-0.6c11-py2.6 when trying to install an egg directly from SVN sources. This happens both on OSX and Ubuntu, versions: Python 2.6.1 (r261:67515, Jul  7

[Distutils] Finishing PEP 345

2009-12-18 Thread Tarek Ziadé
Hi, While PEP 386 is waiting to be accepted in python-dev, I'd like to finish PEP 345 so we can propose it right after PEP 386 is (hopefully) accepted. The remaining point I can see is about : Repository-URL, Repository-Browse-URL, Bug-Tracker-URL. As Ian suggested I propose to change these

Re: [Distutils] Finishing PEP 345

2009-12-18 Thread Darren Dale
On Fri, Dec 18, 2009 at 9:41 AM, Tarek Ziadé ziade.ta...@gmail.com wrote: Hi, While PEP 386 is waiting to be accepted in python-dev, I'd like to finish PEP 345 so we can propose it right after PEP 386 is (hopefully) accepted. The remaining point I can see is about : Repository-URL,

Re: [Distutils] Finishing PEP 345

2009-12-18 Thread Darren Dale
On Fri, Dec 18, 2009 at 9:56 AM, Darren Dale dsdal...@gmail.com wrote: On Fri, Dec 18, 2009 at 9:41 AM, Tarek Ziadé ziade.ta...@gmail.com wrote: Hi, While PEP 386 is waiting to be accepted in python-dev, I'd like to finish PEP 345 so we can propose it right after PEP 386 is (hopefully)

[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',

[Distutils] [issue99] easy_install does not honour exec-prefix for platform-dependent eggs

2009-12-18 Thread Phil Mitchell
New submission from Phil Mitchell philip.mitch...@gmail.com: When running easy_install with a platform-dependent egg on a python installation whose exec-prefix differs from its prefix, the egg is installed in the platform-independent site-packages directory. In some senses, this seems okay