diff --git a/requirements-dev.txt b/requirements-dev.txt deleted file mode 100644 index 0e7c9a599..000000000 --- a/requirements-dev.txt +++ /dev/null @@ -1,7 +0,0 @@ -pytest==7.1.2 -pytest-cov==3.0.0 -coverage==6.3.3 -coveralls==3.3.1 -flake8 -black -pylint \ No newline at end of file diff --git a/requirements-extras.txt b/requirements-extras.txt index 4de842886..445c01d9e 100644 --- a/requirements-extras.txt +++ b/requirements-extras.txt @@ -11,10 +11,16 @@ ase==3.22.1 # aflow # dscribe # matminer (setup.py) +astroid==2.12.12 + # via pylint attrs==22.1.0 - # via jsonschema + # via + # jsonschema + # pytest beautifulsoup4==4.11.1 # via aflow +black==22.10.0 + # via matminer (setup.py) certifi==2022.9.24 # via requests cffi==1.15.1 @@ -23,22 +29,39 @@ charset-normalizer==2.1.1 # via requests citrination-client==6.5.1 # via matminer (setup.py) +click==8.1.3 + # via black contourpy==1.0.5 # via matplotlib +coverage[toml]==6.5.0 + # via + # coveralls + # matminer (setup.py) + # pytest-cov +coveralls==3.3.1 + # via matminer (setup.py) cryptography==38.0.1 # via # globus-sdk # pyjwt cycler==0.11.0 # via matplotlib +dill==0.3.6 + # via pylint dnspython==2.2.1 # via pymongo +docopt==0.6.2 + # via coveralls dscribe==1.2.2 # via matminer (setup.py) emmet-core==0.38.6 # via mp-api +exceptiongroup==1.0.0 + # via pytest fair-research-login==0.3.0 # via mdf-toolbox +flake8==5.0.4 + # via matminer (setup.py) fonttools==4.38.0 # via matplotlib future==0.18.2 @@ -57,6 +80,10 @@ httplib2==0.20.4 # via matminer (setup.py) idna==3.4 # via requests +iniconfig==1.1.1 + # via pytest +isort==5.10.1 + # via pylint jinja2==3.1.2 # via aflow jmespath==1.0.1 @@ -73,6 +100,8 @@ kiwisolver==1.4.4 # via matplotlib latexcodec==2.0.1 # via pybtex +lazy-object-proxy==1.8.0 + # via astroid llvmlite==0.39.1 # via numba markupsafe==2.1.1 @@ -81,6 +110,10 @@ matplotlib==3.6.1 # via # ase # pymatgen +mccabe==0.7.0 + # via + # flake8 + # pylint mdf-forge==0.8.0 # via matminer (setup.py) mdf-toolbox==0.6.0 @@ -97,6 +130,8 @@ mpmath==1.2.1 # via sympy msgpack==1.0.4 # via mp-api +mypy-extensions==0.4.3 + # via black networkx==2.8.7 # via pymatgen numba==0.56.3 @@ -118,29 +153,45 @@ numpy==1.23.4 # sparse # spglib packaging==21.3 - # via matplotlib + # via + # matplotlib + # pytest palettable==3.3.0 # via pymatgen pandas==1.5.1 # via # matminer (setup.py) # pymatgen +pathspec==0.10.1 + # via black pillow==9.2.0 # via matplotlib +platformdirs==2.5.2 + # via + # black + # pylint plotly==5.11.0 # via pymatgen +pluggy==1.0.0 + # via pytest pybind11==2.10.0 # via dscribe pybtex==0.24.0 # via # emmet-core # pymatgen +pycodestyle==2.9.1 + # via flake8 pycparser==2.21 # via cffi pydantic==1.10.2 # via emmet-core +pyflakes==2.5.0 + # via flake8 pyjwt[crypto]==2.6.0 # via globus-sdk +pylint==2.15.5 + # via matminer (setup.py) pymatgen==2022.10.22 # via # emmet-core @@ -157,6 +208,12 @@ pypif==2.1.2 # via citrination-client pyrsistent==0.18.1 # via jsonschema +pytest==7.2.0 + # via + # matminer (setup.py) + # pytest-cov +pytest-cov==4.0.0 + # via matminer (setup.py) python-dateutil==2.8.2 # via # matplotlib @@ -170,6 +227,7 @@ pyyaml==6.0 requests==2.28.1 # via # citrination-client + # coveralls # globus-sdk # matminer (setup.py) # mdf-forge @@ -219,6 +277,14 @@ termcolor==2.0.1 # via aflow threadpoolctl==3.1.0 # via scikit-learn +tomli==2.0.1 + # via + # black + # coverage + # pylint + # pytest +tomlkit==0.11.6 + # via pylint tqdm==4.64.1 # via # matminer (setup.py) @@ -226,16 +292,21 @@ tqdm==4.64.1 # pymatgen typing-extensions==4.4.0 # via + # astroid + # black # emmet-core # globus-sdk # mp-api # pydantic + # pylint ujson==5.5.0 # via matminer (setup.py) uncertainties==3.1.7 # via pymatgen urllib3==1.26.12 # via requests +wrapt==1.14.1 + # via astroid # The following packages are considered to be unsafe in a requirements file: # setuptools diff --git a/setup.py b/setup.py index 07776ec85..90e5bf514 100644 --- a/setup.py +++ b/setup.py @@ -11,7 +11,11 @@ "dscribe": ["dscribe"], "mdfforge": ["mdf-forge"], "aflow": ["aflow"], - "citrine": ["citrination-client"] + "citrine": ["citrination-client"], + "dev": [ + "pytest", "pytest-cov", "coverage", "coveralls", + "flake8", "black", "pylint" + ] } tests_require = [r for v in extras_require.values() for r in v]