Ticket #13779 (new Bug)
Home » Hello World Tutorial » Build development environment » Build Python (Buildout.cfg with pypy lines)
Reported by: | gwarah | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | 4.x |
Component: | Unknown | Version: | 4.2 |
Keywords: | documentation, development, environment, pypy, buildout | Cc: |
Description
Hi, I'm creating a plone 4.2 development environment following these instructions
But in my buildout.cfg file has these lines
${buildout:pypy-parts}[[BR]]
${buildout:pypy3-parts}
not included in this release documentation. Should I've included them? Are they important to build the environment?
tks for the help.
Luis
Attachments
Change History
Changed 2 years ago by gwarah
-
attachment
buildout.cfg
added
comment:1 Changed 2 years ago by gwarah
Other question:
Once the environment is building onto user directory, shouldn't the [install-links] configured to something like this:
[install-links]
prefix = ~/python_dev/buildout.python
instead this one:
[install-links]
prefix = /opt/local
??
Or it's not necessary?
comment:2 Changed 2 years ago by gwarah
Well, I'm trying to build it without pypy parts and [install-links] section. (See buildout2.cfg)
So, at the third step Build Python, section Install Plone using ZopeSkel, I've got this error trying to bootstrap system:
luis@luis-ux64:~/python-dev/env-27/hello_world$ ../bin/python bootstrap.py
Traceback (most recent call last):
File "bootstrap.py", line 97, in <module>
pythonpath = ws.find(pkg_resources.Requirement.parse(requirement)).location
AttributeError: 'NoneType' object has no attribute 'location'
So I've found this tip (known bootstrap/ubuntu issue) https://github.com/diefenbach/django-lfs/issues/73[[BR]]
and try to update bootstrap (first option) and runs ok.
comment:3 Changed 2 years ago by gwarah
Another thing, in the same step,
./bin/buildout
Got this error:
While:
Installing. Loading extensions.
Error: Buildout now includes 'buildout-versions' (and part of the older 'buildout.dumppickedversions').
Correction: comment extensions
extensions =
# mr.developer
# buildout.dumppickedversions
comment:4 Changed 2 years ago by gwarah
At last, buildout dump it:
Got zopeskel.dexterity 1.5.3. While:
Installing zopeskel.
Error: There is a version conflict.
We already have: ZopeSkel 3.0b3
but zopeskel.dexterity 1.5.3 requires 'ZopeSkel<=3.0dev'.
So I've followed the suggest and modify buildout:
[zopeskel]
recipe = zc.recipe.egg eggs =
ZopeSkel<=3.0dev
Finally! The sites runs but I don't know every thing is all right.
Buildout.cfg Generated