Re: [Distutils] [buildout] pythonpath

2010-03-18 Thread Reinout van Rees
On 03/17/2010 06:15 PM, John Griessen wrote: My bin/django file does not have a path to admin templates The paths in bin/django are locations where python looks for *python code*. So "from django.conf import settings" or so means "search on sys.path for django.conf", basically. The sys.pa

[Distutils] distutils: upload fails if maintainer name is unicode

2010-03-18 Thread Sébastien Barthélemy
Hello, when I run "python setup.py sdist upload" on my package, it fails with the following traceback: Traceback (most recent call last): File "setup.py", line 86, in cmdclass=cmdclass) File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/distutils/core.py", l

Re: [Distutils] distutils: upload fails if maintainer name is unicode

2010-03-18 Thread Tarek Ziadé
HI Sébastien, 2010/3/18 Sébastien Barthélemy : [..] > > If I read well, it should be fixed in 2.6. Can you confirm this > problem is (at least officially) fixed for python 2.6.4 ? Any idea or > workaround ? This bug was fixed for the register command some time ago, and I've fixed the upload comma

Re: [Distutils] disutils2 and python 2.4

2010-03-18 Thread Tarek Ziadé
On Wed, Mar 17, 2010 at 6:16 AM, Nicholas Bower wrote: > I joined the list after this discussion: > http://mail.python.org/pipermail/distutils-sig/2010-March/015607.html > and want to point out that even the most recent versions of Zope 2.x for > example still recommend Python 2.4. [..] > Just poi

[Distutils] setuptools data_files and bdist_egg

2010-03-18 Thread Alain Leufroy
I'm a setuptools user and I appreciate it a lot, particularly for the automatic dependency installation and eggs. I found over the web that one of egg features is that files shouldn't be strewn all over the disk. However is there a way to put files outside the egg install directory (e.g. /usr/sh

Re: [Distutils] distutils: upload fails if maintainer name is unicode

2010-03-18 Thread Sébastien Barthélemy
Hello Tarek, thank you for the fast reply. I guess I'll just wait. Regards ___ Distutils-SIG maillist - Distutils-SIG@python.org http://mail.python.org/mailman/listinfo/distutils-sig

Re: [Distutils] distutils: upload fails if maintainer name is unicode

2010-03-18 Thread Tarek Ziadé
On Thu, Mar 18, 2010 at 10:48 AM, Sébastien Barthélemy wrote: > Hello Tarek, > > thank you for the fast reply. > I guess I'll just wait. If you need it today, and you control your python installation, the patch is quite simple to do (one liner) let me know if you want it, > > Regards > -- T

Re: [Distutils] setuptools data_files and bdist_egg

2010-03-18 Thread P.J. Eby
At 03:47 PM 3/18/2010 +0100, Alain Leufroy wrote: Is there a way to force easy_install to use as the prefix for relative data file paths ? You can use easy_install -e to download and unpack the source for the thing you want to install, then use "setup.py install --single-version-externally-m

[Distutils] [buildout] Impossible to install develop eggs

2010-03-18 Thread Saint Germain
Hello, I'm trying to use buildout with develop eggs, but it seems that they cannot be installed. Here is the scenario : 1) I create a simple project in /home/user/project mkdir mymodule touch mymodule/__init__.py echo -e "from setuptools import setup\nPACKAGE = 'mymodule'\nVERSION = '0.1'\nsetup

Re: [Distutils] [buildout] Impossible to install develop eggs

2010-03-18 Thread Mathieu Leduc-Hamel
No you're not right here. With buildout, when you are using the develop clause, it create a link in the develop-eggs dir and if look inside the new file it would point to your package directory directly. After that you can install the egg in the "eggs' section and use it directly as it would be in

Re: [Distutils] [buildout] Impossible to install develop eggs

2010-03-18 Thread Jim Fulton
On Thu, Mar 18, 2010 at 2:05 PM, Saint Germain wrote: > Hello, > > I'm trying to use buildout with develop eggs, but it seems that they cannot > be installed. > > Here is the scenario : > > 1) > I create a simple project in /home/user/project > mkdir mymodule > touch mymodule/__init__.py > echo -e

Re: [Distutils] [buildout] Impossible to install develop eggs

2010-03-18 Thread Saint Germain
On Thu, 18 Mar 2010 15:23:10 -0400, Jim Fulton wrote : > > I'm trying to use buildout with develop eggs, but it seems that > > they cannot be installed. > > > > I end up with the following content: > > bin > > bootstrap.py > > buildout.cfg > > develop-eggs > > eggs > > parts > > > > No lib/pytho

Re: [Distutils] [buildout] Impossible to install develop eggs

2010-03-18 Thread Saint Germain
On Thu, 18 Mar 2010 14:13:19 -0400, Mathieu Leduc-Hamel wrote : > No you're not right here. With buildout, when you are using the > develop clause, it create a link in the develop-eggs dir and if look > inside the new file it would point to your package directory directly. > > After that you can