-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathsetup.py
57 lines (50 loc) · 1.6 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
47
48
49
50
51
52
53
54
55
56
57
from setuptools import setup, find_packages
import sys
def get_version():
import os
data = {}
fname = os.path.join('automan', '__init__.py')
exec(compile(open(fname).read(), fname, 'exec'), data)
return data.get('__version__')
install_requires = ['psutil', 'execnet', 'setuptools']
tests_require = ['pytest']
if sys.version_info.major < 3:
tests_require.append('mock')
install_requires.append('mock')
classes = """
Development Status :: 3 - Alpha
Environment :: Console
Intended Audience :: Developers
Intended Audience :: Education
Intended Audience :: End Users/Desktop
Intended Audience :: Science/Research
License :: OSI Approved :: BSD License
Natural Language :: English
Operating System :: OS Independent
Programming Language :: Python
Programming Language :: Python :: 2.7
Programming Language :: Python :: 3
Programming Language :: Python :: 3.3
Programming Language :: Python :: 3.4
Programming Language :: Python :: 3.5
Programming Language :: Python :: 3.6
Topic :: Scientific/Engineering
Topic :: Software Development :: Libraries
Topic :: Utilities
"""
classifiers = [x.strip() for x in classes.splitlines() if x]
setup(
name='automan',
version=get_version(),
author='Prabhu Ramachandran',
author_email='[email protected]',
description='A simple Python-based automation framework.',
long_description=open('README.rst').read(),
license="BSD",
url='https://github.com/pypr/automan',
classifiers=classifiers,
packages=find_packages(),
install_requires=install_requires,
tests_require=tests_require,
package_dir={'automan': 'automan'},
)