forked from mr-provisioner/mr-provisioner
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
executable file
·45 lines (40 loc) · 1.37 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
#!/usr/bin/env python
from setuptools import setup, find_packages
from pip.req import parse_requirements
import sys
import uuid
import os
install_reqs = parse_requirements('requirements.txt', session=uuid.uuid1())
requires = [str(ir.req) for ir in install_reqs]
if (3, 0) <= sys.version_info < (3, 3):
raise SystemExit("Python 3.0, 3.1 and 3.2 are not supported")
setup(
name='mr-provisioner',
version=open(os.path.join(os.path.dirname(__file__), 'VERSION')).read().strip(),
author='mr-provisioner contributors',
author_email='...',
packages=find_packages(),
include_package_data=True,
zip_safe=False,
url='https://github.com/mr-provisioner/mr-provisioner',
license='MIT',
description='lightweight provisioning tool',
classifiers=[
"Development Status :: 3 - Alpha",
"Topic :: Internet",
"Topic :: Internet :: WWW/HTTP :: HTTP Servers",
"Topic :: Internet :: WWW/HTTP :: WSGI :: Application",
"License :: OSI Approved :: Apache License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.3",
"Programming Language :: Python :: 3.4"
],
python_requires='>=3, !=3.0.*, !=3.1.*, !=3.2.*, <4',
install_requires=requires,
extras_require={
},
entry_points={
'console_scripts':
['mr-provisioner = mr_provisioner:main'],
}
)