[Distutils] Buoldout2 e setup.py: install_requires ignored

Alessandro Dentella sandro at e-den.it
Tue Sep 13 16:07:10 EDT 2016


I just migrated from buildout 1.7 to buildout 2.5. In this migration I
stopped using a recipe that created a virtualenv as a part of
buildout and I now use an external (basic) virtualenv to calll
bootrap, so I can't compare the two configuration in a strict way.

My problem is that now it seems that install_requires declared in
setup.py are simply ignored, while all packages declared in the eggs
directory are used/installed along with all the packages they depends

I can't find what's wrong with my configuration, I report below a
minimal setup that shows the problem.

thanks in advance for any hints


sandro at bluff:/tmp/new$ cat buildout.cfg
parts = django
eggs = django
project-name = mytest

recipe = djangorecipe
settings = settings
eggs = ${buildout:eggs}

sandro at bluff:/tmp/new$ cat setup.py
from setuptools import setup, find_packages

    name = "example with buildout2",
    version = "0.1",
    author = "Sandro",
    author_email = "sandro at e-den.it",
    description = ("Sperem ghe la vaga ben"),
    license = "BSD",
    url = "http://hg.trepalchi.it/",
    #packages=['an_example_pypi_project', 'tests'],
    long_description="Bla bla",
        "Development Status :: 3 - Alpha",
        "Topic :: Utilities",
        "License :: OSI Approved :: BSD License",

The steps I do::

  mkvirtualenv -p /usr/bin/python3 base3
  /home/sandro/.virtualenvs/base3/bin/python3 bootstrap.py

And I obtain bin/django where pyquery **is missing**

$ cat bin/django

import sys
sys.path[0:0] = [

import djangorecipe.binscripts

if __name__ == '__main__':

Sandro Dentella  *:-)
http://trepalchi.it                Il portale degli artisti

http://www.reteisi.org             Soluzioni libere per le scuole
http://sqlkit.argolinux.org        SQLkit home page - PyGTK/python/sqlalchemy

More information about the Distutils-SIG mailing list