-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.py
54 lines (46 loc) · 1.68 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
50
51
52
53
54
from pathlib import Path
from typing import List
from setuptools import find_packages, setup
CURRENT_DIR = Path(__file__).parent
def get_long_description() -> str:
"""Get long description from README.md."""
return (CURRENT_DIR / "README.md").read_text(encoding="u8")
def get_install_requires() -> List[str]:
"""Get duplicated requirements from requirements.txt."""
return ["pathspec==0.9.0"]
setup(
name="ndnt",
version="1.3.1",
description="Inspect indents of your files.",
long_description=get_long_description(),
long_description_content_type="text/markdown",
url="https://github.com/Masynchin/ndnt",
author="Max Smirnov",
author_email="[email protected]",
keywords="cli indent indentation",
license="MIT",
packages=find_packages(include=["ndnt"]),
classifiers=[
"Development Status :: 5 - Production/Stable",
"Environment :: Console",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Topic :: Software Development",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Utilities",
],
python_requires=">=3.6", # I am not sure about it
install_requires=get_install_requires(),
entry_points={
"console_scripts": [
"ndnt=ndnt.__main__:main",
]
},
)