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
9
votes
5 answers

Buildout tries to update system-wide Distribute installation and refuses to run

Buildout doesn't like my system-wide Distribute installation and refuses to run: plone@s15447224:~/mybuildout$ python bootstrap.py Creating directory '/home/plone/mybuildout/bin'. Creating directory '/home/plone/mybuildout/parts'. Creating…
Mikko Ohtamaa
  • 82,057
  • 50
  • 264
  • 435
9
votes
2 answers

Buildout ignoring github `find-links` reference

I'm trying to get buildout to use a specific, forked & tweaked package from my github account, however it seems to be completely ignoring the reference and instead opting for the standard PyPi module. Here's my buildout config: [buildout] parts =…
Phillip B Oldham
  • 18,807
  • 20
  • 94
  • 134
9
votes
5 answers

Opensource real django projects

I'm trying to learn Django. And need something to go beyond Hello world and Polls tutorial. Could you please recomend any real project written in Django? Tried to search, but found not many. Especialy interested in usage of buildout.
Dmitry Trofimov
  • 7,371
  • 1
  • 30
  • 34
9
votes
1 answer

Why would one build supervisord inside of a buildout?

I've seen buildout recipes that build supervisor into the buildout, I suppose to control the daemons inside. However, it seems to me that one would still need something in /etc/init.d ( for example ) to run said supervisor instance on boot. So,…
chiggsy
  • 8,153
  • 5
  • 33
  • 43
8
votes
1 answer

how do I get configuration from buildout in my plone products?

How do I include configuration information from Buildout in my Plone products? One of the plone products i'm working on reads and writes info to and from the filesystem. It currently does that inside the egg namespace (for example inside…
Noe Nieto
  • 2,521
  • 2
  • 17
  • 25
8
votes
1 answer

Does Buildout support value substitution in the extends option?

Does Buildout support value substitution in the extends option of the buildout section? For example, this example.cfg doesn't extend with base.cfg: [config] base = base.cfg [buildout] extends = ${config:base} parts = buildout -c example.cfg…
Nishant
  • 20,354
  • 18
  • 69
  • 101
8
votes
3 answers

Problem installing OpenERP server with buildout !

I'm trying to deploy OpenERP with a buildout and my own piece of code. In fact I would like to build a complete deployement structure allowing me to use OpenERP with custom modules and patch. First of all, before adding any personnal configuration,…
user177169
8
votes
4 answers

Python Code Organization Question : Eggs + Packages + Buildout + Unit Tests + SVN

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…
interstar
  • 26,048
  • 36
  • 112
  • 180
8
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
  • 345
  • 2
  • 12
8
votes
3 answers

Preventing variable substitutions from occurring with buildout

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…
Graham Dumpleton
  • 57,726
  • 6
  • 119
  • 134
8
votes
2 answers

distutils, distutils2, pip and requirements

I am diving into the world of packaging Python applications and managed to get into this state of confusion where my head starts to spin due to all the concepts and options I am supposed to deal with. Question: What do I need to accomplish? Deploy…
JanezStupar
  • 258
  • 4
  • 11
7
votes
3 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,579
  • 9
  • 40
  • 66
7
votes
2 answers

How can I install my project from source with Buildout?

I want to use Buildout to install my Distribute-based project and its dependencies to an isolated environment. My project should be installed directly from the source tree (a local Git repository), and is not registered with PyPI. How do I…
aknuds1
  • 65,625
  • 67
  • 195
  • 317
7
votes
3 answers

How to make sure buildout doesn't use the already installed packages?

I am trying to switch fully to buildout - but our development environment already has lot of stuff installed in /usr/lib/pythonxx/ How can I make sure that buildout doesn't use the libraries installed on the system already - eventually without…
Martin
  • 905
  • 9
  • 19
7
votes
1 answer

Are there any good tutorial about using buildout and pip?

I've been struggling all day to really understand how to use buildout and pip. Watched a bunch of videos etc., but I still have a hard time figuring out the do and don't of buildout and pip. Any help, tutorial, book is welcome.
Martin
  • 905
  • 9
  • 19
1
2
3
23 24