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.

355 questions
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
  • 340
  • 1
  • 7
7
votes
4 answers

SSLError in Requests when packaging as OS X .app

I'm developing an application for OS X. The application involves communicating with a server through python-requests, using a secure connection. I am able to run the python file I intend to package, and it succeeds with the SSL connection. However,…
trekkieyk
  • 295
  • 2
  • 11
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,794
  • 1
  • 24
  • 27
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,202
  • 6
  • 39
  • 64
6
votes
4 answers

buildout - using different python version

i have set up buildout project (django to be specific) that has to run in old machine, it works fine in my local system with python 2.7. In production server it runs python 2.5 and i want to configure buildout that it would download and use 2.6,…
JackLeo
  • 4,033
  • 8
  • 32
  • 65
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
  • 505
  • 1
  • 3
  • 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
  • 3,515
  • 4
  • 25
  • 47
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,436
  • 2
  • 12
  • 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
  • 7,405
  • 5
  • 31
  • 42
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
  • 3,801
  • 2
  • 24
  • 40
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
  • 15,629
  • 12
  • 60
  • 85
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
  • 68,948
  • 61
  • 139
  • 172
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
  • 7,405
  • 5
  • 31
  • 42
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
  • 4,692
  • 6
  • 27
  • 29
1 2
3
23 24