@@ -51,7 +51,6 @@ def load_requirements(path_dir=PWD, file_name="requirements.txt", comment_char="
51
51
"Cannot install some dependencies. "
52
52
"Dependency links are currently not supported: " + str (dependency_links )
53
53
)
54
- dev_requirements , _ = load_requirements (file_name = "requirements-dev.txt" )
55
54
56
55
# Import the README and use it as the long-description.
57
56
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="
77
76
python_requires = REQUIRES_PYTHON ,
78
77
url = URL ,
79
78
license = LICENSE ,
80
- packages = find_packages (where = "src" , exclude = ("tests" , "test" )),
79
+ packages = find_packages (where = "src" , exclude = ("tests" , "test" , "examples" , "docs" )),
81
80
package_dir = {"" : "src" },
82
81
py_modules = [splitext (basename (path ))[0 ] for path in glob ("src/*.py" )],
83
82
zip_safe = False ,
84
83
install_requires = requirements ,
85
84
extras_require = {
86
85
# 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
+ ],
89
102
},
90
103
include_package_data = True ,
91
104
package_data = {
0 commit comments