-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
39 lines (35 loc) · 1.17 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
"""black command for setuptools"""
from setuptools import setup, find_packages
__version__ = "0.1.5"
# Read in binary and decode, due to special UTF8 characters inside README
with open("README.md", "rb") as fh:
README = fh.read().decode()
setup(
name="setuptools-black",
version=__version__,
description=__doc__,
long_description=README,
long_description_content_type="text/markdown",
packages=find_packages(),
install_requires=["black>=18.9b0"],
zip_safe=True,
entry_points={
"distutils.commands": [
"format = setuptools_black.setuptools_command:FormatCommand"
]
},
author="Aurelien Grenotton",
author_email="[email protected]",
url="https://github.com/agrenott/setuptools-black",
license="MIT",
keywords="black setuptools plugin",
classifiers=[
"Framework :: Setuptools Plugin",
"Development Status :: 4 - Beta",
"Programming Language :: Python :: 3",
"Intended Audience :: Developers",
"Operating System :: OS Independent",
"License :: OSI Approved :: MIT License",
"Topic :: Software Development :: Libraries :: Python Modules",
],
)