Re: [Distutils] zc.buildout and System Python

2010-10-28 Thread Jim Fulton
On Mon, Oct 25, 2010 at 4:53 AM, Eric Lemoine eric.lemo...@camptocamp.com wrote: Hi I'm currently switching to zc.buildout 1.5. I've been looking at having a Python environment that is fully isolated from the main, system-wide Python environment. Can you confirm that zc.buildout 1.5

[Distutils] howto python setup.py develop in distutils2

2010-10-28 Thread Aljoša Mohorović
how can i get python setup.py develop or something similar with distutils2? i'm just looking for a simple way to include a package into current python environment while working on that package. $ pip freeze|grep -i dist Distutils2==1.0a3 any tips appreciated. Aljosa Mohorovic

Re: [Distutils] howto python setup.py develop in distutils2

2010-10-28 Thread Tarek Ziadé
On Thu, Oct 28, 2010 at 8:14 AM, Aljoša Mohorović aljosa.mohoro...@gmail.com wrote: how can i get python setup.py develop or something similar with distutils2? i'm just looking for a simple way to include a package into current python environment while working on that package The feature is

Re: [Distutils] zc.buildout and System Python

2010-10-28 Thread Toshio Kuratomi
On Thu, Oct 28, 2010 at 10:22:58AM -0400, Jim Fulton wrote: It occurs to me that it would be nice if we made clean Python packages available for some of the popular Unix platforms. I'm not sure what would be involved in doing that, from a distribution point of view. If you're

Re: [Distutils] howto python setup.py develop in distutils2

2010-10-28 Thread Aljoša Mohorović
2010/10/28 Tarek Ziadé ziade.ta...@gmail.com: The feature is not existing yet in distutils2. In the meantime you can change your PYTHONPATH to include the package is somebody working on this or it's not a priority for next milestone? Aljosa ___

Re: [Distutils] zc.buildout and System Python

2010-10-28 Thread Jim Fulton
On Thu, Oct 28, 2010 at 11:47 AM, Toshio Kuratomi a.bad...@gmail.com wrote: On Thu, Oct 28, 2010 at 10:22:58AM -0400, Jim Fulton wrote:   It occurs to me that it would be nice if we made clean Python   packages available for some of the popular Unix platforms.  I'm not   sure what would be

Re: [Distutils] zc.buildout and System Python

2010-10-28 Thread Barry Warsaw
On Oct 28, 2010, at 12:08 PM, Jim Fulton wrote: BTW, I really don't care about certain types of innovation (e.g. file locations, wide unicode) as long as I as a developer don't feel them. It occurs to me that it would be useful if there was a definition of a standard Python that provided a

Re: [Distutils] howto python setup.py develop in distutils2

2010-10-28 Thread Tarek Ziadé
2010/10/28 Aljoša Mohorović aljosa.mohoro...@gmail.com: 2010/10/28 Tarek Ziadé ziade.ta...@gmail.com: The feature is not existing yet in distutils2. In the meantime you can change your PYTHONPATH to include the package is somebody working on this or it's not a priority for next milestone?

[Distutils] An observation on how system packagers and developers can be friends

2010-10-28 Thread Jim Fulton
Periodically, in various venues, we discuss the challenges of deploying applications with or in spite of system packaging of Python and system packaging philosophies. (Note that I'm mainly talking g about deploying applications, as opposed to individual Python packages.) In my experience, the

Re: [Distutils] zc.buildout and System Python

2010-10-28 Thread Toshio Kuratomi
On Thu, Oct 28, 2010 at 12:08:30PM -0400, Jim Fulton wrote: On Thu, Oct 28, 2010 at 11:47 AM, Toshio Kuratomi a.bad...@gmail.com wrote: On Thu, Oct 28, 2010 at 10:22:58AM -0400, Jim Fulton wrote:   It occurs to me that it would be nice if we made clean Python   packages available for some

Re: [Distutils] An observation on how system packagers and developers can be friends

2010-10-28 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 10/28/2010 12:44 PM, Jim Fulton wrote: Periodically, in various venues, we discuss the challenges of deploying applications with or in spite of system packaging of Python and system packaging philosophies. (Note that I'm mainly talking g

Re: [Distutils] zc.buildout and System Python

2010-10-28 Thread Jim Fulton
On Thu, Oct 28, 2010 at 12:26 PM, Barry Warsaw ba...@python.org wrote: On Oct 28, 2010, at 12:08 PM, Jim Fulton wrote: BTW, I really don't care about certain types of innovation (e.g. file locations, wide unicode) as long as I as a developer don't feel them. It occurs to me that it would be

Re: [Distutils] An observation on how system packagers and developers can be friends

2010-10-28 Thread Barry Warsaw
On Oct 28, 2010, at 02:02 PM, Tres Seaver wrote: I like the idea in general, but worry that some conflicts may not be resolvable. For instance, I don't know what goal drives system packagers to specify UCS4 over the default UCS2, but I won't ever be happy using a Python built that way for

Re: [Distutils] An observation on how system packagers and developers can be friends

2010-10-28 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 10/28/2010 04:50 PM, Barry Warsaw wrote: On Oct 28, 2010, at 02:02 PM, Tres Seaver wrote: I like the idea in general, but worry that some conflicts may not be resolvable. For instance, I don't know what goal drives system packagers to

Re: [Distutils] An observation on how system packagers and developers can be friends

2010-10-28 Thread Benji York
On Thu, Oct 28, 2010 at 5:44 PM, Tres Seaver tsea...@palladion.com wrote: Heh, untar + CMMI into a non-system prefix works for me. ;) +1 with the small addition of after making sure the dev dependencies Python sniffs out to build modules for (zlib, crypto bits, etc.) are available. -- Benji

Re: [Distutils] An observation on how system packagers and developers can be friends

2010-10-28 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 10/28/2010 05:54 PM, Benji York wrote: On Thu, Oct 28, 2010 at 5:44 PM, Tres Seaver tsea...@palladion.com wrote: Heh, untar + CMMI into a non-system prefix works for me. ;) +1 with the small addition of after making sure the dev dependencies

[Distutils] sh execution of setuptools egg not working

2010-10-28 Thread Stephen Waterbury
I'll probably realize what stupid thing I'm doing as soon as I send this message, but oh well if that's what it takes ... ;) I want to install setuptools on a centos 4.3 system, for which the system python is 2.4 (ugh) so I've compiled and installed python 2.6 into /usr/local. When I try

Re: [Distutils] An observation on how system packagers and developers can be friends

2010-10-28 Thread Glyph Lefkowitz
On Oct 28, 2010, at 6:08 PM, Tres Seaver wrote: Heh, agreed. That bites me on about every third machine I set up for the first time. The Usual Suspects (TM) are whatever the local packaging system calls the following (and their -dev or -devel packages, if split out): - - zlib - -

Re: [Distutils] pkg_resources: Loading resources in a uniform fashion

2010-10-28 Thread P.J. Eby
At 06:18 PM 10/28/2010 +0200, Alan Franzoni wrote: Hello, lately I was thinking about writing a kind of factory method for parsing an url and returning a resource filename or stream, something like: fs_resource = load_resource_filename(file:///etc/software/config.conf) pkg_resource =

Re: [Distutils] sh execution of setuptools egg not working

2010-10-28 Thread P.J. Eby
At 06:10 PM 10/28/2010 -0400, Stephen Waterbury wrote: Any suggestions appreciated! Hope this isn't a faq that I missed ... I would suggest trying it with the local Python 2.4; if that works, then your 2.6 build is likely broken in some way. (Another thing to check would be your