[tahoe-lafs-trac-stream] [Tahoe-LAFS] #2747: "tox" on debian (py3) can't run our setup.py
Tahoe-LAFS
trac at tahoe-lafs.org
Wed Mar 23 05:36:08 UTC 2016
#2747: "tox" on debian (py3) can't run our setup.py
---------------------------+--------------------
Reporter: warner | Owner: warner
Type: defect | Status: closed
Priority: normal | Milestone: 1.11.0
Component: packaging | Version: 1.10.2
Resolution: fixed | Keywords:
Launchpad Bug: |
---------------------------+--------------------
Changes (by Brian Warner <warner@…>):
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"dd84abd9f22db56cdce610cd882ab8337041cf4a/trunk"
dd84abd/trunk]:
{{{
#!CommitTicketReference repository="trunk"
revision="dd84abd9f22db56cdce610cd882ab8337041cf4a"
setup.py: work with tox under py3
This allows a python3-based "tox" (as shipped with modern debian and
ubuntu systems) to run setup.py egg_info, update_version, and sdist
commands. It moves the main "tahoe requires py2" check out of setup.py
and into allmydata.scripts.runner.run, where it gets applied at runtime
rather than build time.
It also changes the execfile(_auto_deps.py) and Versioneer-like "ask git
what our version string should be" code to work under both py2 and py3.
fixes ticket:2747
}}}
--
Ticket URL: <https://tahoe-lafs.org/trac/tahoe-lafs/ticket/2747#comment:5>
Tahoe-LAFS <https://Tahoe-LAFS.org>
secure decentralized storage
More information about the tahoe-lafs-trac-stream
mailing list