-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
46 lines (40 loc) · 1.71 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
"""A setuptools based setup module.
See:
https://packaging.python.org/en/latest/distributing.html
https://github.com/pypa/sampleproject
"""
# Always prefer setuptools over distutils
from setuptools import setup, find_packages
# To use a consistent encoding
from codecs import open
from os import path
here = path.abspath(path.dirname(__file__))
# Get the long description from the README file
with open(path.join(here, 'README.md'), encoding='utf-8') as f:
long_description = f.read()
exec(open('NsoneObservium/_version.py').read())
setup(
name='NsoneObservium', # Required
version=__version__, # Required
description='A simple python library for the Observium API', # Required
long_description=long_description, # Optional
long_description_content_type='text/markdown', # Optional (see note above)
url='https://github.com/ns1/ns1-observium', # Optional
author='bcavanagh@ns1.com', # Optional
author_email='bcavanagh@ns1.com', # Optional
classifiers=[ # Optional
'Development Status :: 4 - Beta',
'Intended Audience :: System Administrators',
'Topic :: System :: Networking :: Monitoring',
'License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
],
keywords='observium network automation', # Optional
packages=find_packages(exclude=['contrib', 'docs', 'tests']), # Required
install_requires=['requests', 'urllib3'], # Optional
)