-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathsetup.py
More file actions
42 lines (38 loc) · 1.59 KB
/
setup.py
File metadata and controls
42 lines (38 loc) · 1.59 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
38
39
40
41
42
from setuptools import setup, find_packages
import os
import re
import shutil
if os.environ.get('USER', '') == 'vagrant':
del os.link
requirements = [r.strip() for r in open('requirements.txt').readlines() if not r.startswith('--')]
requirements = [r if ('git+' not in r) else re.sub(r".*egg=(.*)", r"\1", r).strip() for r in requirements]
shutil.copy('VERSION.txt', 'jobmanager/API.VERSION.txt')
setup(
name='jobmanager-api',
version=open('jobmanager/API.VERSION.txt').read().strip(),
author='Ronan Delacroix',
author_email='ronan.delacroix@gmail.com',
url='https://github.com/ronhanson/python-jobmanager-api',
packages=find_packages(where='.', exclude=["fabfile", "tools", "*.tests", "*.tests.*", "tests.*", "tests"]) + ['jobmanager'],
include_package_data=True,
package_data={}, #done in MANIFEST.in
scripts=['bin/jobmanager-api'],
license=open('LICENCE.txt').read().strip(),
description='Job Manager API',
long_description=open('README.md').read().strip(),
setup_requires=requirements,
classifiers=[
'Topic :: Utilities',
'Topic :: Software Development :: Libraries',
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'Intended Audience :: Manufacturing',
'Intended Audience :: System Administrators',
'License :: OSI Approved :: MIT License',
'Operating System :: MacOS :: MacOS X',
'Operating System :: POSIX',
'Operating System :: Microsoft :: Windows',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.4',
],
)