#263 closed defect (fixed)

setuptools_darcs plugin noise on install

Reported by: zooko Owned by: zooko
Priority: major Milestone:
Component: packaging Version: 0.7.0
Keywords: Cc:
Launchpad Bug:

Description

The setuptools_darcs plugin emits a warning if you run setup.py in a directory that isn't under darcs revision control. This is because you might be trying to build a package, and if so then that package ought to contain a copy of each file which is under darcs revision control, and if this directory isn't so controlled then the setuptools_darcs plugin can't build a package.

There are two cases where it should not complain. One is if the directory contains a $PACKAGE_NAME.egg-info/SOURCES.txt file instead, as described in ​the relevant setuptools docs. The other is if setup.py is not being used to produce packages, but is instead being used for something else (build? install? -- I'm not sure if these commands need to know which files are "package material").

So my next step is to program setuptools_darcs to be quiet if there exists $PACKAGE_NAME.egg-info/SOURCES.txt, and then see if that makes all the noise go away so that I can close this ticket.

Thanks to Rob for prompting me to open this ticket.

Change History (2)

comment:1 Changed at 2008-01-22T20:12:28Z by zooko

  • Resolution set to fixed
  • Status changed from new to closed

fixed by eaed7a06906106af

comment:2 Changed at 2008-01-23T03:21:23Z by zooko

  • Milestone 0.7.1 deleted

Milestone 0.7.1 deleted

Note: See TracTickets for help on using tickets.