Re: [Distutils] obtaining easy_install prefix in setup.py

2009-11-19 Thread Christophe Pradal
Pavol Juhas a écrit : ... Anybody else out there with a need to deploy a shared C library with a Python package? Yes. To deploy Python libraries with extension modules, or even shared libs on different OS (Linux, Mac and Windows) we have implemented OpenAlea.Deploy as an extension of

Re: [Distutils] distribute traceback

2009-11-19 Thread Jesse Noller
On Nov 19, 2009, at 12:57 AM, Tarek Ziadé ziade.ta...@gmail.com wrote: On Thu, Nov 19, 2009 at 3:13 AM, Neal Becker ndbeck...@gmail.com wrote: sudo easy_install -U openopt Processing openopt Running OOPy/setup.py -q bdist_egg --dist-dir /home/nbecker/openopt/OOPy/egg-dist-tmp-fTMbRS

Re: [Distutils] distribute traceback

2009-11-19 Thread David Cournapeau
On Thu, Nov 19, 2009 at 8:51 PM, Jesse Noller jnol...@gmail.com wrote: No - I don't. And while the error may look similiar to that bug, I think that's a red herring. I have no idea why installing distribute - or any other third party module would trigger a bug in a different module in the

Re: [Distutils] distribute traceback

2009-11-19 Thread Tarek Ziadé
On Thu, Nov 19, 2009 at 12:51 PM, Jesse Noller jnol...@gmail.com wrote: [..] No - I don't. And while the error may look similiar to that bug, I think that's a red herring. I have no idea why installing distribute - or any other third party module would trigger a bug in a different module in

Re: [Distutils] distribute traceback

2009-11-19 Thread Jesse Noller
On Nov 19, 2009, at 7:05 AM, Tarek Ziadé ziade.ta...@gmail.com wrote: On Thu, Nov 19, 2009 at 12:51 PM, Jesse Noller jnol...@gmail.com wrote: [..] No - I don't. And while the error may look similiar to that bug, I think that's a red herring. I have no idea why installing distribute -

Re: [Distutils] distribute traceback

2009-11-19 Thread Tarek Ziadé
(Sorry mobile device) s/yes it does/the distribution installed by distribute does In any case the problem is about the order of execution when things shuts down. The function in multiprocess via atexit makes the assumption it is called before the gc has started removing objects. Tarek On Nov

Re: [Distutils] obtaining easy_install prefix in setup.py

2009-11-19 Thread P.J. Eby
At 12:59 AM 11/19/2009 -0500, Pavol Juhas wrote: As PJE mentioned, it is indeed possible to walk the stack trace and rip out the original sys.argv (and its '--prefix' element) from the easy_install main. Technically, I meant it's possible to walk back until you find a 'self' that's a

Re: [Distutils] distribute traceback

2009-11-19 Thread Tarek Ziadé
On Thu, Nov 19, 2009 at 2:38 PM, Jesse Noller jnol...@gmail.com wrote: [..] No problem :) I was replying from my phone too. Yeah, Antoine recently added the looping capability I wanted into regrtest.py - I'll see if I can scratch up some time to let it spin - the last time I looked at this

Re: [Distutils] distribute traceback

2009-11-19 Thread Jesse Noller
On Thu, Nov 19, 2009 at 9:43 AM, Tarek Ziadé ziade.ta...@gmail.com wrote: On Thu, Nov 19, 2009 at 2:38 PM, Jesse Noller jnol...@gmail.com wrote: [..] No problem :) I was replying from my phone too. Yeah, Antoine recently added the looping capability I wanted into regrtest.py - I'll see if I

Re: [Distutils] distribute traceback

2009-11-19 Thread Jesse Noller
2009/11/19 Neal Becker ndbeck...@gmail.com: On Thursday 19 November 2009, Jesse Noller wrote: On Thu, Nov 19, 2009 at 9:43 AM, Tarek Ziadé ziade.ta...@gmail.com wrote: On Thu, Nov 19, 2009 at 2:38 PM, Jesse Noller jnol...@gmail.com wrote: [..] No problem :) I was replying from my phone

Re: [Distutils] distribute traceback

2009-11-19 Thread Tarek Ziadé
2009/11/19 Jesse Noller jnol...@gmail.com: [..] When I tested it, that exception only got thrown on my machine once every few thousand runs Seems 100% repeatable here (fedora 12 x86_64) It's going to take a bit, but I'm downloading/installing FC12 into a virtual machine. Thx for the

Re: [Distutils] distribute traceback

2009-11-19 Thread Neal Becker
On Thursday 19 November 2009, Jesse Noller wrote: On Thu, Nov 19, 2009 at 9:43 AM, Tarek Ziadé ziade.ta...@gmail.com wrote: On Thu, Nov 19, 2009 at 2:38 PM, Jesse Noller jnol...@gmail.com wrote: [..] No problem :) I was replying from my phone too. Yeah, Antoine recently added the

Re: [Distutils] distribute traceback

2009-11-19 Thread Jesse Noller
On Thu, Nov 19, 2009 at 10:26 AM, Tarek Ziadé ziade.ta...@gmail.com wrote: 2009/11/19 Jesse Noller jnol...@gmail.com: [..] When I tested it, that exception only got thrown on my machine once every few thousand runs Seems 100% repeatable here (fedora 12 x86_64) It's going to take a bit,

[Distutils] One package for both python and jython

2009-11-19 Thread Fabrizio Pollastri
Hello, I am trying to upgrade a pure python package distribution based on distutils in such a way that it will work with both python and jython. Since my package depends on some part of python library when run by python and on some other part of jython library when run by jython, the source

Re: [Distutils] distribute traceback

2009-11-19 Thread Tarek Ziadé
On Thu, Nov 19, 2009 at 4:47 PM, Jesse Noller jnol...@gmail.com wrote: [..] I'm not making any promises to be able to get it done today/tomorrow. Work * No worries/hurry at all. At least we know that everything gets installed fine before this TB so it's a minor bug.

Re: [Distutils] One package for both python and jython

2009-11-19 Thread P.J. Eby
At 04:40 PM 11/19/2009 +0100, Fabrizio Pollastri wrote: the source structure is the following. my_package_source_dir/ common_files files_for_python files_for_jython It will be a maximum, if distutils let me to reach the following goals. 1. python/jython setup.py