[Distutils] [buildout] bug related to package name capitalisation

Chris Withers chris at simplistix.co.uk
Thu Aug 12 17:01:48 CEST 2010

Hi All,

The following buildout.cfg demonstrates something that feels buggy to me:

parts = sqlalchemy migrate
versions = versions

SQLAlchemy = 0.6.0
sqlalchemy = 0.6.2

recipe = zc.recipe.egg
eggs = SQLAlchemy
entry-points = foo=bar:baz

recipe = zc.recipe.egg
eggs = sqlalchemy-migrate

When run, you'll get two scripts:

sys.path[0:0] = [

sys.path[0:0] = [

The problem is that sqlalchemy-migrate declares an install_requires 
dependency on "sqlalchemy", which the package is actually called SQLAlchemy.

It could be argued that sqlalchemy-migrate is "wrong" but it remains 
that all python's packaging tools appear case insensitive to package names.

As such, I'd expect buildout's version pinning to be case agnostic as 
well. What do other people feel about this?


More information about the Distutils-SIG mailing list