[Distutils] zc.buildout 1.5.0b1 and zc.recipe.egg.1.2.3b1

2010-04-30 Thread Dave Peticolas
Thanks for the quick resolution of this, I just wanted to mention a problem I ran into with these that I don't think I saw reported in the archives. After working around the 'cannot import warnings' problem, I was getting errors where buildout complained about a missing find-links parameter. I se

Re: [Distutils] Beta release of zc.buildout 1.5.0

2010-04-30 Thread Gary Poster
I have re-released zc.buildout 1.4.3 as 1.5.0b2, and re-released zc.recipe.egg 1.2.2 as 1.2.3b2. My tests seem to show everything back to normal--I was able to build Chris's initial problem example as a smoketest. Next week I'll announce betas *not* uploaded to PyPI. These will solve the prob

Re: [Distutils] Beta release of zc.buildout 1.5.0

2010-04-30 Thread Jim Fulton
On Fri, Apr 30, 2010 at 4:38 PM, Tarek Ziadé wrote: > On Fri, Apr 30, 2010 at 4:28 AM, Gary Poster > wrote: >> I have made a beta release of zc.buildout 1.5.0. >> >> Among other changes, this release includes the ability to use zc.buildout >> with a system Python, if you use the new z3c.recipe.

Re: [Distutils] Beta release of zc.buildout 1.5.0

2010-04-30 Thread Gary Poster
On Apr 30, 2010, at 4:38 PM, Tarek Ziadé wrote: > On Fri, Apr 30, 2010 at 4:28 AM, Gary Poster > wrote: >> I have made a beta release of zc.buildout 1.5.0. >> >> Among other changes, this release includes the ability to use zc.buildout >> with a system Python, if you use the new z3c.recipe.sc

Re: [Distutils] Beta release of zc.buildout 1.5.0

2010-04-30 Thread Sridhar Ratnakumar
On 2010-04-30, at 1:38 PM, Tarek Ziadé wrote: > There's a big problem in our ecosystem: PyPI + our various installers > don't have the concept of "beta" release. Any new release is > considered to be the latest release. > > Until it's fixed, I think we should avoid pushing any betas to PyPI, >

Re: [Distutils] new zc.buildout and virtualenv no longer friends?

2010-04-30 Thread Gary Poster
On Apr 30, 2010, at 4:34 PM, Carl Meyer wrote: > Hi Gary, Hi Carl. > Gary Poster wrote: >> 1. virtualenv fixes the -S flag. I doubt the virtualenv maintainers >> care, but if they did, that would be great. > > Ian can correct if I'm wrong, but AFAIK that would be quite difficult. > Virtualenv

Re: [Distutils] Beta release of zc.buildout 1.5.0

2010-04-30 Thread Tarek Ziadé
On Fri, Apr 30, 2010 at 4:28 AM, Gary Poster wrote: > I have made a beta release of zc.buildout 1.5.0. > > Among other changes, this release includes the ability to use zc.buildout > with a system Python, if you use the new z3c.recipe.scripts instead of > zc.recipe.egg for generating scripts. >

Re: [Distutils] new zc.buildout and virtualenv no longer friends?

2010-04-30 Thread Carl Meyer
Hi Gary, Gary Poster wrote: > 1. virtualenv fixes the -S flag. I doubt the virtualenv maintainers > care, but if they did, that would be great. Ian can correct if I'm wrong, but AFAIK that would be quite difficult. Virtualenv is built around a custom site.py; that's where all the magic happens.

Re: [Distutils] Beta release of zc.buildout 1.5.0

2010-04-30 Thread Lennart Regebro
Another bug: In code like this: def setUp(test): zc.buildout.testing.buildoutSetUp(test) zc.buildout.testing.install_develop('zc.recipe.testrunner', test) zc.buildout.testing.install_develop('zc.recipe.egg', test) zc.buildout.testing.install('zope.testing', test) zc.buildout.t

Re: [Distutils] building with static dependencies

2010-04-30 Thread Sridhar Ratnakumar
On 2010-04-30, at 5:58 AM, Chris Withers wrote: > Sridhar Ratnakumar wrote: >> Similar to "STATICDEPS=True python setup.py bdist_egg" in lxml? > > If that lets me build and egg that I can then shove onto another box of the > same OS and install with easy_install without installing any other >

Re: [Distutils] Beta release of zc.buildout 1.5.0

2010-04-30 Thread Gary Poster
On Apr 30, 2010, at 11:16 AM, Jonathan Ballet wrote: > Hi, > > On Thu, 29 Apr 2010 22:28:33 -0400, Gary Poster > > wrote: >> I have made a beta release of zc.buildout 1.5.0. >> >> Among other changes, this release includes the ability to use > zc.buildout >> with a system Python, if you use t

Re: [Distutils] new zc.buildout and virtualenv no longer friends?

2010-04-30 Thread Gary Poster
On Apr 30, 2010, at 1:09 PM, Maurits van Rees wrote: > Op 30-04-10 16:32, Gary Poster schreef: >> >> On Apr 30, 2010, at 3:25 AM, Chris McDonough wrote: >>> - Running the above bootstrap.py with the virtualenv python and the >>> -v1.4.3 argument. >>> >>> bin/python bootstrap.py -v1.4.3 >>> >>

Re: [Distutils] new zc.buildout and virtualenv no longer friends?

2010-04-30 Thread Maurits van Rees
Op 30-04-10 16:32, Gary Poster schreef: On Apr 30, 2010, at 3:25 AM, Chris McDonough wrote: - Running the above bootstrap.py with the virtualenv python and the -v1.4.3 argument. bin/python bootstrap.py -v1.4.3 - Run bin/buildout That produces a working environment. Thanks for the clear i

Re: [Distutils] [issue107] bdist_egg --bdist-dir param not working quite as expected

2010-04-30 Thread P.J. Eby
At 01:18 AM 4/30/2010 +, Patrick Ting wrote: So when specifying a build directory through the --bdist-dir param to anything than the default directory: 1. (as expected) a build directory is created, the pyc files are generated in this directory, and then the directory is deleted. 2. (bug) bu

Re: [Distutils] buildout: bootstrap.py in 1.5.0b1 + python 2.5

2010-04-30 Thread Gary Poster
On Apr 30, 2010, at 12:30 PM, Rodrigo Moraes wrote: > (and now sorry for the spam) > > Just for clarification, I could reproduce the error using python 2.6. > I realized later that I had buildout installed in site-packages for > python2.5. Running the bootstrap script with buildout installed cau

Re: [Distutils] buildout: bootstrap.py in 1.5.0b1 + python 2.5

2010-04-30 Thread Rodrigo Moraes
(and now sorry for the spam) Just for clarification, I could reproduce the error using python 2.6. I realized later that I had buildout installed in site-packages for python2.5. Running the bootstrap script with buildout installed causes a problem. Then I installed buildout on python 2.6 and the s

Re: [Distutils] buildout: bootstrap.py in 1.5.0b1 + python 2.5

2010-04-30 Thread Rodrigo Moraes
After a little more investigation, it seems that the problem is caused by adding the -S flag to python. After I commented out this part of the code: # In order to be more robust in the face of system Pythons, we want to # run without site-packages loaded. This is somewhat tricky, in # particular

[Distutils] buildout: bootstrap.py in 1.5.0b1 + python 2.5

2010-04-30 Thread Rodrigo Moraes
Hey, I'm facing a problem running the bootstrap.py from buildout 1.5.0b1. The errors are pasted here: http://paste.pocoo.org/show/208025/ This error occurs only when I use Python 2.5; with 2.6 it works fine. Also it happens even if i set the flag --distribute. So for the time being I'm using t

Re: [Distutils] Beta release of zc.buildout 1.5.0

2010-04-30 Thread Jonathan Ballet
Hi, On Thu, 29 Apr 2010 22:28:33 -0400, Gary Poster wrote: > I have made a beta release of zc.buildout 1.5.0. > > Among other changes, this release includes the ability to use zc.buildout > with a system Python, if you use the new z3c.recipe.scripts instead of > zc.recipe.egg for generating scr

Re: [Distutils] new zc.buildout and virtualenv no longer friends?

2010-04-30 Thread Gary Poster
On Apr 30, 2010, at 3:25 AM, Chris McDonough wrote: > On Fri, 2010-04-30 at 08:57 +0200, Rok Garbas wrote: >> i ment on bootstrap .. >> >> python bootstrap.py -v1.4.3 > > Thanks Rok. With that hint, I was able to work around it in a > virtualenv by: > > - Using the bootstrap.py from the 1.4.3

Re: [Distutils] building with static dependencies

2010-04-30 Thread Chris Withers
Sridhar Ratnakumar wrote: For numpy you only need to use the pre-built ATLAS libraries (see scipy installation document) on windows 32-bit (for 64-bit, you will need the proprietary MKL to build atlas), and build atlas yourself on linux. In both cases, setup.cfg has to be modified to point to

Re: [Distutils] building with static dependencies

2010-04-30 Thread Chris Withers
Sridhar Ratnakumar wrote: Similar to "STATICDEPS=True python setup.py bdist_egg" in lxml? If that lets me build and egg that I can then shove onto another box of the same OS and install with easy_install without installing any other dependencies, then yes, sure :-) and build atlas yourself

Re: [Distutils] how to make pip do install using a requirements-files in order?

2010-04-30 Thread Carl Meyer
Hi, mouad ben wrote: > I use pip with distribute and virtualenv to make an automatic install of > a Django project . > my problem is that i want to make the installation in the order that > they came in the requirements-files that i specified. > > i use this command : pip install -E gold/ -r gol

[Distutils] how to make pip do install using a requirements-files in order?

2010-04-30 Thread mouad ben
I use pip with distribute and virtualenv to make an automatic install of a Django project . my problem is that i want to make the installation in the order that they came in the requirements-files that i specified. i use this command : pip install -E gold/ -r gold/gold_package.txt and the gold_p

Re: [Distutils] new zc.buildout and virtualenv no longer friends?

2010-04-30 Thread kiorky
Le 30/04/2010 09:33, Rok Garbas a écrit : 2010/4/30 Chris McDonough: On Fri, 2010-04-30 at 08:57 +0200, Rok Garbas wrote: i ment on bootstrap .. python bootstrap.py -v1.4.3 oh .. right .. i had pinned zc.buildout as well. i was already thinking to start everything to do by han

Re: [Distutils] new zc.buildout and virtualenv no longer friends?

2010-04-30 Thread Rok Garbas
2010/4/30 Chris McDonough : > On Fri, 2010-04-30 at 08:57 +0200, Rok Garbas wrote: >> i ment on bootstrap .. >> >> python bootstrap.py -v1.4.3 > > Thanks Rok.  With that hint, I was able to work around it in a > virtualenv by: > > - Using the bootstrap.py from the 1.4.3 tag > (

Re: [Distutils] new zc.buildout and virtualenv no longer friends?

2010-04-30 Thread Chris McDonough
On Fri, 2010-04-30 at 08:57 +0200, Rok Garbas wrote: > i ment on bootstrap .. > > python bootstrap.py -v1.4.3 Thanks Rok. With that hint, I was able to work around it in a virtualenv by: - Using the bootstrap.py from the 1.4.3 tag (

Re: [Distutils] new zc.buildout and virtualenv no longer friends?

2010-04-30 Thread Chris McDonough
On Fri, 2010-04-30 at 08:57 +0200, Rok Garbas wrote: > i ment on bootstrap .. > > python bootstrap.py -v1.4.3 With the bootstrap.py I had been using (pre --version option apparently): [chr...@thinko deformsite]$ bin/python bootstrap.py -v1.4.3 Error: Invalid option -1 With the bootstrap.py fr