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:
Brian Warner 2016-08-27 19:57:01 -07:00
parent c56a0a4ba9
commit eb230d1e5f

View File

@ -261,6 +261,18 @@ setup(name="tahoe-lafs", # also set in __init__.py
"coverage",
"mock",
"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",