Skip to content

Commit

Permalink
Simplify setup.py's extras_require
Browse files Browse the repository at this point in the history
Replace Python for dependency management by requirements.txt's requirement
specifiers.
  • Loading branch information
jruere committed Oct 4, 2023
1 parent a976e61 commit e2b2f7e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,11 +65,11 @@
"typeguard>=2,<3",
"astor==0.8.1",
"numpy>=1,<2",
'mypy==1.5.1;python_version>="3.8"',
'black==23.9.1;python_version>="3.8"',
'deal==4.23.3;python_version>"=3.8"',
'asyncstdlib==3.9.1;python_version>="3.8"',
]
+ (["mypy==1.5.1"] if sys.version_info >= (3, 8) else [])
+ (["black==23.9.1"] if sys.version_info >= (3, 8) else [])
+ (["deal==4.23.3"] if sys.version_info >= (3, 8) else [])
+ (["asyncstdlib==3.9.1"] if sys.version_info >= (3, 8) else []),
},
py_modules=["icontract"],
package_data={"icontract": ["py.typed"]},
Expand Down

0 comments on commit e2b2f7e

Please sign in to comment.