-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathsetup.py
47 lines (43 loc) · 1.52 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
#!/usr/bin/env python
from setuptools import find_packages, setup
try:
import ConfigParser as configparser
except ImportError:
import configparser
with open("README.rst") as f:
LONG_DESCRIPTION = f.read()
config = configparser.ConfigParser()
config.read("setup.cfg")
setup(
name="graphtimer",
version=config.get("src", "version"),
license="MIT",
description="Time code execution and graph results",
long_description=LONG_DESCRIPTION,
long_description_content_type="text/x-rst",
author="Peilonrayz",
author_email="peilonrayz@gmail.com",
url="https://peilonrayz.github.io/graphtimer",
project_urls={
"Bug Tracker": "https://github.com/Peilonrayz/graphtimer/issues",
"Documentation": "https://peilonrayz.github.io/graphtimer",
"Source Code": "https://github.com/Peilonrayz/graphtimer",
},
packages=find_packages("src"),
package_dir={"": "src"},
include_package_data=True,
zip_safe=False,
install_requires=["matplotlib", "typing_extensions"],
classifiers=[
"Development Status :: 3 - Alpha",
"Environment :: Console",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
],
keywords="timer graph performance",
entry_points={"console_scripts": ["graphtimer=graphtimer.__main__:main"]},
)