X-Git-Url: https://git.madduck.net/etc/vim.git/blobdiff_plain/3e60f6d454616a795acb1e3e2b43efa979de4f46..26c9465a22c732ab1e17b0dec578fa3432e9b558:/setup.py diff --git a/setup.py b/setup.py index 7569d51..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", + "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",