Questions tagged [buildout]

zc.buildout is a Python-based build system for creating, assembling and deploying applications from multiple parts, some of which may be non-Python-based. It lets you create a buildout configuration and reproduce the same software later on.

zc.buildout is a Python-based build system for creating, assembling and deploying applications from multiple parts, some of which may be non-Python-based. It lets you create a buildout configuration and reproduce the same software later. An application may contain multiple programs, processes, and configuration settings.

359 questions
5
votes
2 answers

How do I get started with zc.buildout and Distribute?

I want to use buildout for dependency management, and I hear distribute is the new good way to manage installation of your project. However, easy tutorials to get started seem to be thin on the ground. The most straight forward I've seen is Jacob…
Brad Wright
  • 5,602
  • 6
  • 29
  • 30
5
votes
0 answers

How to find the module with the conflicting requirement?

I got an error about when running buildout: Installing instance. The version, 1.4.4, is not consistent with the requirement, 'plone.app.jquery>1.6'. While: Installing instance. Error: Bad version 1.4.4 I suppose that there is a module with the…
Daniel Hernández
  • 1,279
  • 8
  • 15
5
votes
1 answer

Blobstorage errors when implementing Zope Replication Services (ZRS) on Plone 4.3.2

I would like to use ZRS to replicate data between two servers (zopeserver-1 and zopeserver-2), with the ZEO on zopeserver-1 being primary, and replicating to the secondary ZEO on zopeserver-2. Each server will have two Zope clients, both pointing…
tsimkins
  • 51
  • 1
5
votes
2 answers

Got Django and Buildout working, but what about PIL and Postgres?

I'm on Mac OSX 10.5.8. I have followed Jacob Kaplan-Moss's article on setting up Django with Buildout: http://jacobian.org/writing/django-apps-with-buildout/ Finally, I have got this Buildout to work! ...but I'm now needing PIL and Postgres for a…
littlejim84
  • 9,071
  • 15
  • 54
  • 77
5
votes
1 answer

What's the simplest possible buildout.cfg to install Zope 2?

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 =…
rjmunro
  • 27,203
  • 20
  • 110
  • 132
5
votes
4 answers

Buildout-aware Python autocompletion for Sublime Text

Are there any tricks how one could make Sublime Text's Python autocompletion aware off all eggs from buildout's [eggs] section E.g. grab the same sys.path as in Plone's generated bin/instance command and expose them to Sublime's auto-completion.…
Mikko Ohtamaa
  • 82,057
  • 50
  • 264
  • 435
5
votes
1 answer

How to tell Buildout to install a egg from a URL (w/o pypi)

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
Shekhar
  • 7,095
  • 4
  • 40
  • 45
4
votes
3 answers

Sharing buildout-cache/eggs across several UNIX users

On a server there are several independent Plone buildout installations, running under different UNIX accounts. Is there any reliable mean to share buildout-cache folder on this server across all these different UNIX users? As one Plone eggs/…
Mikko Ohtamaa
  • 82,057
  • 50
  • 264
  • 435
4
votes
2 answers

Buildout and hosts timing out: configuring shorter timeout and known-good host set

If I have understood correctly buildout internally uses setuptools and setuptools ramdomly scrapes HTML pages in hope to finding eggs. This lead to the following problem if any critical host is down and it is referred from PyPi README etc.: Download…
Mikko Ohtamaa
  • 82,057
  • 50
  • 264
  • 435
4
votes
1 answer

Does zc.buildout offer a lot more than pip when dealing with packages/eggs

We're all development team working on a Django site. Recently we've begun using zc.buildout inside a virtualenv. I can see how virtualenv helps you by making a sandboxed environment. After creating a sandbox, one can simply use pip to install the…
Mridang Agarwalla
  • 43,201
  • 71
  • 221
  • 382
4
votes
2 answers

How to pin version of recipe egg for a particular part

I have added a section in my buildout to install python-ldap as described here: http://bluedynamics.com/articles/jens/python-ldap-as-egg-with-buildout However my buildout fails with: While: Initializing. Getting section buildout. Initializing…
sureshvv
  • 4,234
  • 1
  • 26
  • 32
4
votes
1 answer

Deploying to production with buildout and minimal downtime?

I've got a buildout with django + wsgi that's working nicely on dev and production. The only issue is that when I make a change or addition to the buildout.cfg and have to run bin/buildout, the website goes offline from the time buildout starts…
4
votes
2 answers

Install ZOPE2 without buildout

In pre-buildout-times one would install ZOPE2 by downloading the tarball of http://old.zope.org/Products/Zope/ and do the configure/make/install-procedure. Since ZOPE version 2.12 releases are made on pypi. Would it still be possible to install…
fmue
  • 89
  • 6
4
votes
1 answer

ZCML configuration conflict between Zope2 and another zope.* package

I have a Plone add-on with the following setup.py setup( ... install_requires=[ ... 'zope.i18n', ... 'Zope2', ], ... ) If I run bin/instance I get the following traceback: File…
gforcada
  • 2,498
  • 17
  • 26
4
votes
4 answers

Django buildout

I'm starting to play around with using buildout for Django. I'd like to use buildout as the main installation method for deploying projects and applications. In this context is it the best that each application contains a buildout, as well as the…