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
7
votes
1 answer

Does ruby have something similar to buildout or virtualenv?

I was wondering: In python, canon says to use buildout or virtualenv, to avoid installing into the system packages. It's second nature now, I no longer see anything ludicrously bizarre to the practice. It makes a kind of sense. In Ruby, is there…
chiggsy
  • 8,153
  • 5
  • 33
  • 43
7
votes
5 answers

Find requirement specs in a Plone buildout setup

I have a Plone site (something around 4.2.4, telling from a version.txt in the root directory) which I'd like to update to a recent version (I found this how-to) (as of now, 4.3.4); I have inherited a plethora of pinned versions which are not…
Tobias
  • 2,481
  • 3
  • 26
  • 38
7
votes
1 answer

how do you know which python egg is enforcing a constraint in buildout?

For instance the following is built with bin/buildout -Nvv ... Getting required 'grokcore.component>=2.5' required by five.grok 1.3.2. required by grokcore.viewlet 1.11. Picked: grokcore.component = 2.5 Getting required 'grokcore.annotation' …
Adam Terrey
  • 350
  • 1
  • 8
6
votes
1 answer

"unrecognized .svn/entries format" using buildout

Since upgrading to subversion 1.7 I get "unrecognized .svn/entries format" when running buildout. I notice there is an unresolved bug reports for both distribute and setuptools for this error and it also seems that you can use setuptools_subversion…
scarba05
  • 2,943
  • 1
  • 27
  • 29
6
votes
1 answer

How to structure a python projects with shared sub apps using git and buidout without symbolic links

I have multiple projects that shares child apps with other projects. When working within the project directory I want to be able to make changes to the app, update it, and pull those updates into the second project. Requirement: No use of symbolic…
Kyle Finley
  • 11,842
  • 6
  • 43
  • 64
6
votes
1 answer

Adding value dynamically in buildout configuration

I am looking for populating value, in zc.buildout configuration, by evaluating certain criteria. For example, if fqdn endswith '.net' then hostname = this_pkg_server else hostname = that_pkg_server I am looking to build site specific…
Jagadeesh N M
  • 625
  • 1
  • 5
  • 9
6
votes
2 answers

how to force buildout to use already installed package

On a server, for disk optimization, we do not install a C compiler, and here is the problem : I want to install 'spur' python package with buildout 2.3.1, spur is using pycrypto which requires a C compiler. To avoid compilation, I installed on the…
Eric
  • 4,821
  • 6
  • 33
  • 60
6
votes
3 answers

Documentation on writing buildout recipes

I am trying to find tutorials on how to write buildout recipes. I haven't found any, except the one on buildout site. But it is very rudimentary. Is there a good tutorial for writing buildout recipes?
roopesh
  • 1,636
  • 2
  • 13
  • 16
6
votes
2 answers

Listing buildout configuration variables

I'd like to find out, exactly what variables are available when using zc.buildout. I can always look at the source, but ideally I'd find a list somewhere, or be able to query buildout to find out what it thinks are the variables available at any…
chiggsy
  • 8,153
  • 5
  • 33
  • 43
5
votes
3 answers

Buildout with part build with Cython

I'm facing problem with cython in buildout. One of the part is a module build with cython from a .c file and a .pyx file. I've already try many solutions : Sean Gillies Blog / 814 / Adding pyproj to a buildout gefira blog » Getting rid of ‘No…
5
votes
1 answer

How to use buildout to build Qt, PyQt, and SIP?

EDIT: The following buildout.cfg worked to build Qt, PyQt, and SIP [buildout] parts = pyqt [pyqt] recipe = zc.recipe.cmmi url = http://www.riverbankcomputing.co.uk/static/Downloads/PyQt4/PyQt-x11-gpl-4.8.4.tar.gz #shared =…
Doran
  • 4,051
  • 2
  • 27
  • 41
5
votes
1 answer

Force unbuffered output for script made with buildout and zc.recipe.egg:scripts

I need to use unbuffered output in a script that is built with buildout. My approach was to specify the -u flag for Python in the generated script. Here's my buildout.cfg: [buildout] parts = python develop = . [python] recipe =…
ash
  • 653
  • 9
  • 20
5
votes
6 answers

Using custom packages on my python project

I'm doing a few projects in python right now, and I'm trying to figure out how to work with my own versions of existing open source packages. For instance, I'm using tipfy with zc.buildout, and I've added in the 'paypal' package. Unfortunately it…
Sudhir Jonathan
  • 16,998
  • 13
  • 66
  • 90
5
votes
2 answers

Alternative to zc.buildout that runs on Python3

My project uses buildout to do primarily two things: automatically fetch dependencies and create scripts; and setup cron jobs (on deployment machines) using the usercrontab buildout recipe. But buildout is not yet available for Python 3. So I would…
Sridhar Ratnakumar
  • 81,433
  • 63
  • 146
  • 187
5
votes
1 answer

When to use buildout:eggs and when to install via zc.recipe.egg?

There seem to be more than one way to install eggs into a buildout. Way 1: [buildout] ... eggs = eggname othereggname ... Way 2: [buildout] ... parts = eggs [eggs] recipe = zc.recipe.egg eggs = eggname = othereggname Both ways…
chiggsy
  • 8,153
  • 5
  • 33
  • 43
1 2
3
23 24