Weblösungen mit Plone, Python, React und Svelte

Analysieren, Konzipieren, Implementieren. Kontaktieren.

Gigantic Header Image
Buildout Desaster [solved]

Buildout Desaster [solved]

virtual environment and requirements.txt

Still having problems with buildout? Not anymore!

zc.buildout version x is required, but version y is also around and raises a conflict? Try this:

Use a virtual environment: a Python just for your project.

$ virtualenv -p python2 --no-site-packages plonepy
$ source ./plonepy/bin/activate
 
create a requirements.txt with
setuptools == 38.7.0
zc.buildout == 2.11.2
with current versions (setuptools, zc.buildout).
 
NOTE: setuptools and zc.buildout versions must be in sync with versions.cfg
 
$ mkdir foo
$ cd foo
$ git clone ... .
$ pip install -r requirements.txt --upgrade
$ ../plonepy/bin/buildout  -c mybuildout.cfg
 
Neuen Kommentar hinzufügen

Sie können einen Kommentar abgeben, indem Sie das unten stehende Formular ausfüllen. Nur Text. Web- und E-Mail-Adressen werden in anklickbare Links umgewandelt. Kommentare werden moderiert.

Frage: 100 - 17 ?
Ergebnis: