-
-
Notifications
You must be signed in to change notification settings - Fork 20
/
setup.py
43 lines (40 loc) · 1.36 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
import setuptools
with open("README.md") as f:
long_description = f.read()
with open("./src/watchpoints/__init__.py") as f:
for line in f.readlines():
if line.startswith("__version__"):
# __version__ = "0.9"
delim = '"' if '"' in line else "'"
version = line.split(delim)[1]
break
else:
print("Can't find version! Stop Here!")
exit(1)
setuptools.setup(
name="watchpoints",
version=version,
author="Tian Gao",
author_email="[email protected]",
description="watchpoints monitors read and write on variables",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/gaogaotiantian/watchpoints",
packages=setuptools.find_packages("src"),
package_dir={"":"src"},
classifiers=[
"Development Status :: 4 - Beta",
"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",
"Intended Audience :: Developers",
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent"
],
python_requires=">=3.6",
install_requires = [
"objprint>=0.1.3"
]
)