mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-06-20 16:20:18 +00:00
setup.py: add 'tox' and 'i2p' extras
Now you can do `pip install tahoe-lafs[tor]` to get tor support. The necessary support libraries are also installed with `[test]`, so unit tests can rely upon importing txtorcon and friends.
This commit is contained in:
12
setup.py
12
setup.py
@ -261,6 +261,18 @@ setup(name="tahoe-lafs", # also set in __init__.py
|
|||||||
"coverage",
|
"coverage",
|
||||||
"mock",
|
"mock",
|
||||||
"tox",
|
"tox",
|
||||||
|
"foolscap[tor]",
|
||||||
|
"txtorcon", # in case pip's resolver doesn't work
|
||||||
|
"foolscap[i2p]",
|
||||||
|
"txi2p", # in case pip's resolver doesn't work
|
||||||
|
],
|
||||||
|
"tor": [
|
||||||
|
"foolscap[tor]",
|
||||||
|
"txtorcon", # in case pip's resolver doesn't work
|
||||||
|
],
|
||||||
|
"i2p": [
|
||||||
|
"foolscap[i2p]",
|
||||||
|
"txi2p", # in case pip's resolver doesn't work
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
package_data={"allmydata.web": ["*.xhtml",
|
package_data={"allmydata.web": ["*.xhtml",
|
||||||
|
Reference in New Issue
Block a user