#31234: stem setup.py needs cleanup
---------------------------+--------------------------
 Reporter:  cypherpunks    |          Owner:  atagar
     Type:  defect         |         Status:  reopened
 Priority:  Medium         |      Milestone:
Component:  Core Tor/Stem  |        Version:
 Severity:  Normal         |     Resolution:
 Keywords:                 |  Actual Points:
Parent ID:                 |         Points:
 Reviewer:                 |        Sponsor:
---------------------------+--------------------------
Changes (by cypherpunks):

 * status:  closed => reopened
 * resolution:  wontfix =>


Comment:

 > The only alternative is to duplicate this information which is more
 error prone.

 This is wrong. Lot of projects just read the file by its path and parse
 the version with a regex.

 > Yup, but also sadly the only python builtin. In our case we don't need
 any of the capabilities setuptools provides so it is not worth taking it
 as a dependency.

 You can

     try:
         import setuptools
     except ImportError:
         import distutils

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/31234#comment:3>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
[email protected]
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs

Reply via email to