[Distutils] virtualenv & pypi-server

Andrea Crotti andrea.crotti.0 at gmail.com
Tue Oct 25 14:54:36 CEST 2011


On 10/25/2011 11:05 AM, Andrea Crotti wrote:
> After reading everything was possible to read on setuptools and friends,
> I'm a bit confused...
>
> I have the following situation:
> suppose that there is a framework composed by many many eggs, which
> doesn't change very often.
>
> Then there are N applications using this framework, where every
> application is also composed by 2-3 eggs, and everything is run in a
> "funny" way (using Envisage).
>
> So at the moment every application fiddles around with the global
> easy_install.pth, which is bad and needs to be changed, and I have to
> figure out how.
>
> My idea would be to
> - have a global pypi-server running on localhost
> - every application is in a virtualenv (or buildout environment) and
>   uses this local pypi-server
>
> I'm doing a few experiments, but already I'm not able to make my virtual
> env to fetch from my local pypi-server, what is the magic setting for 
> that?
>
> The other future problems that I still see now are:
> 1. I have to be able to develop also the eggs from the framework
> 2. I have to make everything very simple to do from and Eclipse
> 3. These applications have to be shared on SVN, so maybe zc.buildout
>    might be a better choice in this sense.
>
> Thanks a lot,
> Andrea

This link answers
http://jacobian.org/writing/when-pypi-goes-down/
to one of my questions, so now I know at least how to configure buildout and
globally easy_install...



More information about the Distutils-SIG mailing list