[tahoe-lafs-trac-stream] [Tahoe-LAFS] #3813: There is a large amount of dynamic package-related code in Tahoe-LAFS

Tahoe-LAFS trac at tahoe-lafs.org
Thu Oct 14 17:08:59 UTC 2021


#3813: There is a large amount of dynamic package-related code in Tahoe-LAFS
-------------------------+-----------------------
     Reporter:  exarkun  |      Owner:
         Type:  defect   |     Status:  new
     Priority:  normal   |  Milestone:  undecided
    Component:  unknown  |    Version:  n/a
   Resolution:           |   Keywords:
Launchpad Bug:           |
-------------------------+-----------------------
Description changed by exarkun:

Old description:

> * setup.py is 427 lines
> * _auto_deps.py is 90 lines
> * around 25 lines of __init__.py are dedicated to dynamic version
> discovery
>
> This complexity is probably not necessary.
>
> * setup.py can be replaced by setup.cfg
> * _auto_deps.py is ... unused?  And can just be deleted?
> * dynamic version discovery can be handed off to a tool like
> setuptools_scm

New description:

 * setup.py is 427 lines
 * _auto_deps.py is 90 lines
 * around 25 lines of `__init__`.py are dedicated to dynamic version
 discovery

 This complexity is probably not necessary.

 * setup.py can be replaced by setup.cfg
 * _auto_deps.py is ... unused?  And can just be deleted?
 * dynamic version discovery can be handed off to a tool like
 setuptools_scm

--

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


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