[tahoe-lafs-trac-stream] [Tahoe-LAFS] #2897: Use setuptools.find_packages

Tahoe-LAFS trac at tahoe-lafs.org
Mon Aug 7 23:56:37 UTC 2017


#2897: Use setuptools.find_packages
-----------------------------+-----------------------
     Reporter:  exarkun      |      Owner:
         Type:  enhancement  |     Status:  new
     Priority:  normal       |  Milestone:  undecided
    Component:  unknown      |    Version:  1.12.1
   Resolution:               |   Keywords:
Launchpad Bug:               |
-----------------------------+-----------------------

Comment (by exarkun):

 I looked through vcs history and found that setup.py used to use
 find_packages but it was removed either without an explanation or with an
 incorrect one:

 > This uses explicitly enumerated packages= and package_data= arguments to
 setup(), rather than relying upon the convenient (but darcs-specific)
 functions which would determine these values by asking the revision-
 control
 system.

 The possibilities seem to be that someone mistakenly thought
 `find_packages` was darcs-specific or that they didn't bother to explain
 the real problem with it.

 I checked out the current behavior and found that it produces exactly the
 same install as current master at HEAD so there doesn't seem to be any reason
 not to use it now.

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


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