-
-
Notifications
You must be signed in to change notification settings - Fork 21
/
setup.py
49 lines (41 loc) · 1.51 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
40
41
42
43
44
45
46
47
48
49
import sys
from pathlib import Path
from setuptools import setup
from unimport import __description__, __version__
assert sys.version_info >= (3, 6, 0), "unimport requires Python 3.6+"
CURRENT_DIR = Path(__file__).parent
def get_long_description():
readme_md = CURRENT_DIR / "README.md"
with open(readme_md, encoding="utf8") as ld_file:
return ld_file.read()
setup(
name="unimport",
version=__version__,
description=__description__,
long_description=get_long_description(),
long_description_content_type="text/markdown",
keywords=["unused", "import"],
author="Hakan Çelik",
author_email="[email protected]",
url="https://github.com/hakancelik96/unimport",
license="MIT",
license_file="LICENSE",
python_requires=">=3.6.0",
packages=["unimport"],
install_requires=["libcst==0.3.8"],
extras_require={"pyproject": ["toml"]},
zip_safe=False,
include_package_data=True,
classifiers=[
"License :: OSI Approved :: MIT License",
"Topic :: Software Development :: Libraries :: Python Modules",
"Environment :: Console",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: Implementation :: CPython",
],
entry_points={"console_scripts": ["unimport = unimport.__main__:main"]},
)