All patches and comments are welcome. Please squash your changes to logical
commits before using git-format-patch and git-send-email to
patches@git.madduck.net.
If you'd read over the Git project's submission guidelines and adhered to them,
I'd be especially grateful.
1 # Copyright (C) 2018 Łukasz Langa
2 from setuptools import setup
6 assert sys.version_info >= (3, 6, 0), "black requires Python 3.6+"
7 from pathlib import Path # noqa E402
9 CURRENT_DIR = Path(__file__).parent
12 def get_long_description() -> str:
13 readme_md = CURRENT_DIR / "README.md"
14 with open(readme_md, encoding="utf8") as ld_file:
20 version=versioneer.get_version(),
21 cmdclass=versioneer.get_cmdclass(),
22 description="The uncompromising code formatter.",
23 long_description=get_long_description(),
24 long_description_content_type="text/markdown",
25 keywords="automation formatter yapf autopep8 pyfmt gofmt rustfmt",
26 author="Łukasz Langa",
27 author_email="lukasz@langa.pl",
28 url="https://github.com/psf/black",
30 py_modules=["black", "blackd", "_version"],
31 packages=["blib2to3", "blib2to3.pgen2"],
32 package_data={"blib2to3": ["*.txt"]},
33 python_requires=">=3.6",
42 extras_require={"d": ["aiohttp>=3.3.2", "aiohttp-cors"]},
43 test_suite="tests.test_black",
45 "Development Status :: 4 - Beta",
46 "Environment :: Console",
47 "Intended Audience :: Developers",
48 "License :: OSI Approved :: MIT License",
49 "Operating System :: OS Independent",
50 "Programming Language :: Python",
51 "Programming Language :: Python :: 3.6",
52 "Programming Language :: Python :: 3.7",
53 "Programming Language :: Python :: 3 :: Only",
54 "Topic :: Software Development :: Libraries :: Python Modules",
55 "Topic :: Software Development :: Quality Assurance",
59 "black=black:patched_main",
60 "blackd=blackd:patched_main [d]",