diff options
author | Pierre Sassoulas <pierre.sassoulas@gmail.com> | 2021-04-05 10:27:01 +0200 |
---|---|---|
committer | Pierre Sassoulas <pierre.sassoulas@gmail.com> | 2021-04-05 15:08:27 +0200 |
commit | e7dae22a38086311d69a1fff4f955cf470f0f9da (patch) | |
tree | 510be4c7b15290557c572ae8d788b65a1e651847 /setup.py | |
parent | 4ef98993a3bf82e6c01e083c417cac8cdd492464 (diff) | |
download | pylint-git-e7dae22a38086311d69a1fff4f955cf470f0f9da.tar.gz |
Remove extra-require from the packaging
Diffstat (limited to 'setup.py')
-rw-r--r-- | setup.py | 25 |
1 files changed, 1 insertions, 24 deletions
@@ -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__"]) |