mirror of
https://github.com/mandiant/capa.git
synced 2025-12-21 23:00:29 -08:00
Add Python3 requirement for black
When installing the development dependencies with Python2, it fails as black is not available for Python2.
This commit is contained in:
8
setup.py
8
setup.py
@@ -41,7 +41,13 @@ setuptools.setup(
|
||||
include_package_data=True,
|
||||
install_requires=requirements,
|
||||
extras_require={
|
||||
"dev": ["pytest", "pytest-sugar", "pytest-instafail", "pytest-cov", "pycodestyle", "black", "isort"]
|
||||
"dev": ["pytest",
|
||||
"pytest-sugar",
|
||||
"pytest-instafail",
|
||||
"pytest-cov",
|
||||
"pycodestyle",
|
||||
"black ; python_version>'3.0'",
|
||||
"isort"]
|
||||
},
|
||||
zip_safe=False,
|
||||
keywords="capa",
|
||||
|
||||
Reference in New Issue
Block a user