-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
53 lines (47 loc) · 1.66 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
import os
from glob import glob
from setuptools import find_packages, setup
from pybex import __name__, __version__
requirements = {}
for path in glob("requirements/*.txt"):
with open(path) as file:
name = os.path.basename(path)[:-4]
requirements[name] = [line.strip() for line in file]
with open("README.md") as file:
long_description = file.read()
github_link = "https://github.com/0dminnimda/{0}".format(__name__)
setup(
name=__name__,
version=__version__,
description="Python code analyzer.",
long_description=long_description,
long_description_content_type="text/markdown",
author="0dminnimda",
author_email="[email protected]",
url=github_link,
packages=find_packages(),
classifiers=[
"Development Status :: 1 - Planning",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python",
"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 :: 3.9",
"Programming Language :: Python :: 3.10",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Software Development :: Pre-processors",
"Topic :: Utilities",
"Typing :: Typed",
],
license="MIT",
project_urls={
"Bug tracker": github_link + "/issues",
},
install_requires=requirements.pop("basic"),
python_requires=">=3.6",
extras_require=requirements,
)