summaryrefslogtreecommitdiff
path: root/setup.py
diff options
context:
space:
mode:
authorPierre Sassoulas <pierre.sassoulas@gmail.com>2021-04-05 10:27:01 +0200
committerPierre Sassoulas <pierre.sassoulas@gmail.com>2021-04-05 15:08:27 +0200
commite7dae22a38086311d69a1fff4f955cf470f0f9da (patch)
tree510be4c7b15290557c572ae8d788b65a1e651847 /setup.py
parent4ef98993a3bf82e6c01e083c417cac8cdd492464 (diff)
downloadpylint-git-e7dae22a38086311d69a1fff4f955cf470f0f9da.tar.gz
Remove extra-require from the packaging
Diffstat (limited to 'setup.py')
-rw-r--r--setup.py25
1 files changed, 1 insertions, 24 deletions
diff --git a/setup.py b/setup.py
index fd986e98c..47877d554 100644
--- a/setup.py
+++ b/setup.py
@@ -12,28 +12,5 @@ __pkginfo__: Dict[str, Any] = {}
with open(HERE / "pylint/__pkginfo__.py", encoding="UTF-8") as f:
exec(f.read(), __pkginfo__) # pylint: disable=exec-used
-with open(HERE / "requirements_docs.txt", encoding="UTF-8") as f:
- doc_extra_requires = f.readlines()
-
-with open(HERE / "requirements_test_min.txt", encoding="UTF-8") as f:
- test_requires = f.readlines()
-
-DEV_REQUIREMENTS_FILES = ["requirements_test.txt", "requirements_test_pre_commit.txt"]
-dev_extra_requires = doc_extra_requires + test_requires
-for requirement_file in DEV_REQUIREMENTS_FILES:
- with open(HERE / requirement_file, encoding="UTF-8") as f:
- dev_extra_requires += [
- line for line in f.readlines() if not line.startswith("-r")
- ]
-
-
if __name__ == "__main__":
- setup(
- version=__pkginfo__["__version__"],
- tests_require=test_requires,
- extras_require={
- ':sys_platform=="win32"': ["colorama"],
- "docs": doc_extra_requires,
- "dev": dev_extra_requires,
- },
- )
+ setup(version=__pkginfo__["__version__"])