-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.py
32 lines (28 loc) · 998 Bytes
/
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
import setuptools
with open("README.md", "r") as fh:
LONG_DESCRIPTION = fh.read()
with open('requirements.txt') as fid:
INSTALL_REQUIRES = [line.strip() for line in fid.readlines() if line]
# get __version__ from automon/version.py
_dct = {}
with open('automon/version.py') as f:
exec(f.read(), _dct)
VERSION = _dct['__version__']
setuptools.setup(
name='automon',
version=VERSION,
license='3-Clause BSD',
author="Hadar Sivan",
author_email="[email protected]",
description="AutoMon library for distributed function monitoring.",
long_description=LONG_DESCRIPTION,
long_description_content_type="text/markdown",
install_requires=INSTALL_REQUIRES,
url='https://github.com/hsivan/automon',
packages=setuptools.find_packages(include=['automon', 'automon.*']),
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: BSD License",
"Operating System :: OS Independent",
],
)