Skip to content

Commit 652e8af

Browse files
committed
Move dev requirements into setup file
1 parent a4af3f3 commit 652e8af

File tree

2 files changed

+17
-15
lines changed

2 files changed

+17
-15
lines changed

requirements-dev.txt

Lines changed: 0 additions & 11 deletions
This file was deleted.

setup.py

Lines changed: 17 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,6 @@ def load_requirements(path_dir=PWD, file_name="requirements.txt", comment_char="
5151
"Cannot install some dependencies. "
5252
"Dependency links are currently not supported: " + str(dependency_links)
5353
)
54-
dev_requirements, _ = load_requirements(file_name="requirements-dev.txt")
5554

5655
# Import the README and use it as the long-description.
5756
with open(os.path.join(PWD, "README.md"), encoding="utf-8") as f:
@@ -77,15 +76,29 @@ def load_requirements(path_dir=PWD, file_name="requirements.txt", comment_char="
7776
python_requires=REQUIRES_PYTHON,
7877
url=URL,
7978
license=LICENSE,
80-
packages=find_packages(where="src", exclude=("tests", "test")),
79+
packages=find_packages(where="src", exclude=("tests", "test", "examples", "docs")),
8180
package_dir={"": "src"},
8281
py_modules=[splitext(basename(path))[0] for path in glob("src/*.py")],
8382
zip_safe=False,
8483
install_requires=requirements,
8584
extras_require={
8685
# extras can be installed via: pip install package[dev]
87-
"dev": [dev_requirements],
88-
"test": [dev_requirements],
86+
"dev": [
87+
"setuptools",
88+
"wheel",
89+
"twine",
90+
"flake8",
91+
"pytest",
92+
"pytest-mock",
93+
"pytest-cov",
94+
"mypy",
95+
"mypy",
96+
"black",
97+
"pydocstyle",
98+
"isort",
99+
"nox",
100+
"lazydocs",
101+
],
89102
},
90103
include_package_data=True,
91104
package_data={

0 commit comments

Comments
 (0)