X-Git-Url: https://git.madduck.net/etc/vim.git/blobdiff_plain/9ef8e6c9b0090d787953bcd3c46a8942483fcc6b..26c9465a22c732ab1e17b0dec578fa3432e9b558:/setup.py diff --git a/setup.py b/setup.py index f0b727c..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, @@ -75,7 +78,10 @@ setup( "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",