-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
37 lines (32 loc) · 1.03 KB
/
setup.py
File metadata and controls
37 lines (32 loc) · 1.03 KB
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
import os
from setuptools import setup, find_packages
def read(filename, split_line=False):
with open(os.path.join(os.path.dirname(__file__), filename)) as f:
if split_line:
return f.read().splitlines()
else:
return f.read()
setup(
name="monitoring",
version="0.1.0",
author="Jay Xu",
author_email="cryingmouse2019@163.com",
description="A configurable scheduled task framework",
long_description=read('README.md'),
long_description_content_type="text/markdown",
url="https://github.com/Cryingmouse/monitoring",
packages=find_packages(where="monitoring"),
package_dir={"": "monitoring"},
install_requires=read("requirements.txt", split_line=True),
entry_points={
'console_scripts': [
'monitor_cli=monitoring.main:main',
],
},
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
],
python_requires='>=3.6',
)