I have several python projects that share common modules. Until now, I've been ... ahem ... keeping multiple copies of the common code and synchronizing by hand. But I'd clearly prefer to do something else.
It looks to me now, as if zc.Buildout maybe what I need. I guess that what I should be doing is putting each reusable component of ...
So, I want to start using virtualenv this year. I like the no-site-packages option, that is nice. However I was wondering how to install certain packages into each virtualenv. For example, lets say I want to install django into each virtualenv... is this possible, and if so, how? Does buildout address this?
...
I am using buildout to automatically download and setup the many dependencies of my Plone installation. buildout more or less uses easy_install to download and install a bunch of Python eggs. This usually works, but it doesn't work if any of the dependencies cannot be downloaded or if I want buildout to find an internal package not appro...
I have some egg accessible as a URL, say http://myhosting.com/somepkg.egg .
Now I don't have this somepkg listed on pypi. How do I tell buildout to fetch and install it for me.
I have tried a few recipes but no luck so far.
TIA
...
I know that the reccomended way to install Zope is with Buildout, but I can't seem to find a simple buildout.cfg to install a minimal Zope 2 environment. There are lots to install Plone and other things.
I've tried:
[buildout]
parts = zope
[zope]
recipe = plone.recipe.zope2install
eggs =
But I get:
An internal error occured due to ...
I'm trying to convert a current Django project in development to use zc.buildout So far, I've got all the bits figured except for Haystack figured out.
The Haystack source is available on GitHub, but I don't want to force users to install git. A suitable alternative seems to be to fetch a tarball from here
That tarball contains a set...
Is there a Python buildout recipe which would allow the following:
[buildout]
parts = group-of-parts
[group-of-parts]
recipe = what.can.i.use.for.this
parts = part-1 part-2
[part-1]
...
[part-2]
...
In other words, I want a recipe which takes a 'parts' attribute much like 'buildout' section does so I can manually manage a hierarchy...
Is there a simple way of escaping the magic characters used for variable substitution in a buildout configuration, such that the string is left alone. In other words, where I say:
[part]
attribute = ${variable}
I don't actually want it to expand ${variable} but leave it as the literal value.
In practice the specific problem I am enco...
Hi, I'm trying to reduce the number of scripts included in our website and we use buildout to handle deployments. Has anybody successfully implemented a method of combining and compressing scripts with buildout?
...
I am trying to grasp a bit more of buildout with this tutorial, but unlike a tutorial, it seems like a cut and paste of presentation slides.
I don't have a really clear idea of what the purpose of buildout is, and how it positions itself with scons and setuptools. Would you be so kind to provide details on these issues?
Thanks!
...
Hello,
I'm working on a buildout script that needs to install a distutils package on remote server.
On PyPi there are 2 recipes for doing this
collective.recipe.distutils 0.1 and zerokspot.recipe.distutils 0.1.1.
The later module a derivative of the former, and is a little more convenient then the first, but the both suffer from the s...
I've been using zc.buildout more and more and I'm encountering problems with some recipes that I have solutions to.
These packages generally fall into several categories:
Package with no obvious links to a project site
Package with links to free hosted service like github or google code
Setup #2 is better then #1, but not much bett...
Hi, I am trying to create a localized version of my project.
I started from the following:
mkdir my
cd my
wget http://svn.zope.org/*checkout*/zc.buildout/trunk/bootstrap/bootstrap.py
After the last command I get the following message:
Warning: wildcards not supported in
HTTP.
--08:42:17-- http://svn.zope.org/checkout/zc.buil...
I am messing around with the combination of buildout and virtualenv to setup an isolated development environment in python that allows to do reproducible builds.
There is a recipe for buildout that let's you integrate virtualenv into buildout:
tl.buildout_virtual_python
With this my buildout.cfg looks like this:
[buildout]
develop ...
What is the best way to install the latest version of pyfacebook with buildout? The package is hosted on github and is not on pypi. This system doesn't have git installed, so a git-based recipe isn't unfortunately not an option. The github URL is http://github.com/sciyoshi/pyfacebook. TIA!
...
So I am applying zc.buildout to an existing django project. I am wondering about deploying it now. How do I achieve the sandbox effect on a production server?
...
I would like to use buildout rather than virtualenv. This decision means that I don't want virtualenv to be snuck into my kit, so I am looking for either a way to tell gp.recipe.pip not to install the virtualenv meme virus, or, a way to install packages from git repos for use with django/djangorecipe.
Ideas?
...
Hi folks,
so far in my 10+ years experience with linux, all the permission problems I've ever encountered, have been successfully solved with chmod -R 777 /path/where/the/problem/has/occured (every lie has a grain of truth in it :)
This time the trick doesn't work, so I'm turning to you for help.
I'm compiling mysql server from scratc...
I would like to install Plone with buildout and gp.recipe.pip. Is this a good idea? How should I convert my "standard" Plone buildout to use pip?
...
The last time I had to worry about installing Python packages was two years ago working with Enthought, NumPy and MayaVi2. That experience gave me lingering nightmares related to quirky behavior installing & updating Python packages in non-standard locations (in $HOME/usr/local2.6/, for example).
Anyway, my work is taking me back to in...