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

How can I specify library versions in setup.py?

In my setup.py file, I've specified a few libraries needed to run my project: setup( # ... install_requires = [ 'django-pipeline', 'south' ] ) How can I specify required versions of these libraries?
Naftuli Kay
  • 75,812
  • 80
  • 244
  • 374
70
votes
4 answers

The problem with installing PIL using virtualenv or buildout

When I install PIL using easy_install or buildout it installs in such way, that I must do 'import Image', not 'from PIL import Image'. However, if I do "apt-get install python-imaging" or use "pip -E test_pil install PIL", all work fine. Here are…
49
votes
8 answers

auth_user error with Django 1.8 and syncdb / migrate

When upgrading to Django 1.8 (with zc.buildout) and running syncdb or migrate, I get this message: django.db.utils.ProgrammingError: relation "auth_user" does not exist One of my models contains django.contrib.auth.models.User: user =…
mpso
  • 1,091
  • 1
  • 13
  • 25
38
votes
2 answers

How to solve pkg_resources.VersionConflict error during bin/python bootstrap.py -d

I am tring to create a new plone environment using python plone-devstart.py tool. I got a bootstrap error. So i used a command bin/python bootstrap.py -d from my project directory. It(bin/python bootstrap.py -d command) worked fine before But now i…
Python Team
  • 1,067
  • 3
  • 17
  • 40
24
votes
5 answers

State of Python Packaging: Buildout, Distribute, Distutils, EasyInstall, etc

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…
Pete
  • 9,450
  • 7
  • 50
  • 57
14
votes
7 answers

How do I use easy_install and buildout when pypi is down?

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…
joeforker
  • 36,731
  • 34
  • 138
  • 231
14
votes
4 answers

Buildout and Virtualenv

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: …
Patrick
  • 769
  • 3
  • 8
  • 20
13
votes
2 answers

Better resources to learn 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…
Stefano Borini
  • 125,999
  • 87
  • 277
  • 404
13
votes
6 answers

combine javascript files at deployment in python

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?
Diarmuid Bourke
  • 464
  • 4
  • 12
12
votes
1 answer

Buildout vs virtualenv + pip for django?

Pros and cons? I'm personally using buildout for my django projects but thinking of switching to virtualenv + pip for its simplicity.
Roman Dolgiy
  • 1,411
  • 1
  • 13
  • 21
12
votes
2 answers

Fabric + buildout as opposed to Fabric + pip + virtualenv

I've recently started playing around with Mezzanine, a django-based CMS. I recently just managed to configure Fabric to get it uploading to my host, webfaction.com, as its a bit more involved automatically creating the website on the shared hosting,…
foxwoods
  • 488
  • 2
  • 10
12
votes
1 answer

Distributing a python package along with module dependencies using RPM

I've got several python applications consisting of scripts/modules that should be packaged and deployed as RPMs. The trickier bit is that each application should be distributed along with all python module dependencies, and these should be used in…
Dave Challis
  • 2,905
  • 1
  • 29
  • 56
11
votes
2 answers

zc.buildout stopped working: ImportError: No module named apport.fileutils

I've been using buildout for quite a while now without any issue, in fact I did yesterday without any problems. But as today all my projects fail to buildout. I tried on two different Ubuntu workstations with the same result. This is the error I…
h3.
  • 9,466
  • 14
  • 47
  • 53
10
votes
3 answers

How to migrate from virtualenv to buildout?

I'm attempting to move a project from virtualenv to buildout, but I don't think I've grasped the whole concept of buildout. All the tutorials I've found discuss buildout in the context of using it with Zope, which I'm not using and therefore can't…
Phillip B Oldham
  • 17,339
  • 17
  • 83
  • 127
10
votes
1 answer

How to configure buildout to create sphinx documentation using bin/sphinxbuilder

In my buildout.cfg file i have such code: parts = ... sphinxbuilder next in same file: eggs= ... jinja2 markupsafe sphinx and then, at the end of file: [sphinxbuilder] recipe = collective.recipe.sphinxbuilder source =…
Daniel Miliński
  • 412
  • 1
  • 3
  • 12
1
2 3
23 24