Ticket #13779 (new Bug)

Opened 2 years ago

Last modified 2 years ago

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

buildout.cfg Download (937 bytes) - added by gwarah 2 years ago.
Buildout.cfg Generated
buildout.2.cfg Download (945 bytes) - added by gwarah 2 years ago.
New Buildout.cfg

Change History

Changed 2 years ago by gwarah

Buildout.cfg Generated

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?

Changed 2 years ago by gwarah

New Buildout.cfg

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.

Last edited 2 years ago by gwarah (previous) (diff)

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

Font:  http://stackoverflow.com/questions/17315259/install-plone-buildout-now-includes-buildout-versions-and-part-of-the-older

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.

Note: See TracTickets for help on using tickets.