Spurious warning if setup.py specifies install_requires=['distribute']

Bug #580563 reported by Māris Fogels
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Buildout
Fix Released
Low
Gary Poster

Bug Description

When using zc.buildout with Distribute, if you use "install_requires=['distribute']" in your setup.py file, as per http://packages.python.org/distribute/using.html, then zc.buildout prints a spurious warning. The buildout still succeeds, but zc.buildout prints the following warning to the console:

Develop distribution: foo 1.0beta1
uses namespace packages but the distribution does not require setuptools.
Generated script '/home/mars/src/foo/bin/tags'.

You can work around this issue by adding 'setuptools' to the install_requires stanza like so:

  install_requires=[
    'distribute',
    'setuptools', # Redundant, removes warning
  ]

Seen in zc.buildout 1.5.0b1.

Related branches

Gary Poster (gary)
Changed in zc.buildout:
status: New → In Progress
importance: Undecided → Low
assignee: nobody → Gary Poster (gary)
Gary Poster (gary)
Changed in zc.buildout:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.