X-Git-Url: https://git.madduck.net/etc/vim.git/blobdiff_plain/7af619b8c15f1825ac927f298596d53a8499feac..89c87d22e79c744326c41e3a00c9dc7381762395:/setup.py diff --git a/setup.py b/setup.py index 9c11631..b953b96 100644 --- a/setup.py +++ b/setup.py @@ -11,9 +11,11 @@ sys.path.insert(0, str(CURRENT_DIR)) # for setuptools.build_meta def get_long_description() -> str: - readme_md = CURRENT_DIR / "README.md" - with open(readme_md, encoding="utf8") as ld_file: - return ld_file.read() + return ( + (CURRENT_DIR / "README.md").read_text(encoding="utf8") + + "\n\n" + + (CURRENT_DIR / "CHANGES.md").read_text(encoding="utf8") + ) USE_MYPYC = False @@ -56,6 +58,7 @@ setup( author="Łukasz Langa", author_email="lukasz@langa.pl", url="https://github.com/psf/black", + project_urls={"Changelog": "https://github.com/psf/black/blob/master/CHANGES.md"}, license="MIT", py_modules=["black", "blackd", "_black_version"], ext_modules=ext_modules, @@ -69,13 +72,16 @@ setup( "appdirs", "toml>=0.9.4", "typed-ast>=1.4.0", - "regex!=2019.12.9", + "regex>=2020.1.8", "pathspec>=0.6, <1", "dataclasses>=0.6; python_version < '3.7'", "typing_extensions>=3.7.4", "mypy_extensions>=0.4.3", ], - extras_require={"d": ["aiohttp>=3.3.2", "aiohttp-cors"]}, + extras_require={ + "d": ["aiohttp>=3.3.2", "aiohttp-cors"], + "colorama": ["colorama>=0.4.3"], + }, test_suite="tests.test_black", classifiers=[ "Development Status :: 4 - Beta",