[tahoe-lafs-trac-stream] [tahoe-lafs] #1908: drop the darcsver egg

tahoe-lafs trac at tahoe-lafs.org
Sat Feb 16 19:25:44 UTC 2013


#1908: drop the darcsver egg
-------------------------+-------------------------------------------------
     Reporter:           |      Owner:  zooko
  davidsarah             |     Status:  new
         Type:  defect   |  Milestone:  undecided
     Priority:  normal   |    Version:  1.9.2
    Component:           |   Keywords:  git darcsver packaging cleanup
  packaging              |  setuptools
   Resolution:           |
Launchpad Bug:           |
-------------------------+-------------------------------------------------
Changes (by davidsarah):

 * keywords:  git darcsver packaging cleanup => git darcsver packaging
     cleanup setuptools


Comment:

 I thought this was an easy ticket, but it turns out that removing
 darcsver-1.7.2.egg results in {{{setup.py update_version}}} breaking (even
 in a git checkout), with this error:

 {{{
 $ python setup.py build
 /usr/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown
 distribution option: 'versionfiles'
   warnings.warn(msg)
 running update_version
 Traceback (most recent call last):
   File "setup.py", line 468, in <module>
     **setup_args
   File "/usr/lib/python2.7/distutils/core.py", line 152, in setup
     dist.run_commands()
   File "/usr/lib/python2.7/distutils/dist.py", line 953, in run_commands
     self.run_command(cmd)
   File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command
     cmd_obj.run()
   File "setup.py", line 341, in run
     target = self.distribution.versionfiles[0]
 AttributeError: Distribution instance has no attribute 'versionfiles'
 }}}

 It's easy enough to tolerate lack of the 'versionfiles' attribute in
 setup.py, but I think that's the wrong fix.

-- 
Ticket URL: <https://tahoe-lafs.org/trac/tahoe-lafs/ticket/1908#comment:1>
tahoe-lafs <https://tahoe-lafs.org>
secure decentralized storage


More information about the tahoe-lafs-trac-stream mailing list