-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathsetup.py
46 lines (41 loc) · 1.5 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
"""Set up the package."""
import os
import re
import sys
from codecs import open as codecs_open
from setuptools import setup, find_packages
if sys.version_info < (3, 0):
sys.stderr.write("Python 3.x is required." + os.linesep)
sys.exit(1)
# Get the long description from the relevant file
with codecs_open('README.rst', encoding='utf-8') as f:
LONG_DESCRIPTION = f.read()
with open("preflyt/__init__.py", "r") as f:
version = re.search(r"^__version__\s*=\s*[\"']([^\"']*)[\"']", f.read(), re.MULTILINE).group(1)
setup(name='preflyt',
version=version,
description="A simple system state test utility",
long_description=LONG_DESCRIPTION,
classifiers=[
"Development Status :: 4 - Beta",
"Environment :: Plugins",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3 :: Only",
"Topic :: System :: Monitoring",
"Topic :: Software Development :: Testing",
],
keywords='runtime test test system environment check checker',
author="Aru Sahni",
author_email="[email protected]",
url='https://github.com/humangeo/preflyt',
license='MIT',
package_data={'': ['LICENSE']},
packages=find_packages(exclude=['ez_setup', 'examples', 'tests']),
include_package_data=True,
zip_safe=True,
install_requires=[],
extras_require={
'test': ['mock', 'nose', 'coverage', 'pylint'],
},
)