setup.py: add dep on attrs, >=16.3.0 to get __attrs_post_init__

I should have added this when I switched to the new state machines, since
they definitely depend on attrs. The only reason this worked at all was that
some subdependency was also depending upon attrs.

We need at least 16.3.0, since we use __attrs_post_init__, and that feature
wasn't included in attrs-16.2.0 or earlier.

Closess #248
This commit is contained in:
Brian Warner 2017-09-03 14:04:00 -07:00
parent 50a1df386e
commit 68ce54ad3a

View File

@ -28,6 +28,7 @@ setup(name="magic-wormhole",
install_requires=[
"spake2==0.7", "pynacl",
"six",
"attrs >= 16.3.0", # 16.3.0 adds __attrs_post_init__
"twisted[tls] >= 17.5.0", # 17.5.0 adds failAfterFailures=
"autobahn[twisted] >= 0.14.1",
"automat",