This repository has been archived by the owner on Mar 24, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 122
/
setup.py
executable file
·60 lines (53 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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
#!/usr/bin/env python
'''
The setup script for salt
'''
import os
from distutils.core import setup
if os.environ.get('VIRTUAL_ENV'):
from setuptools import setup
exec(compile(
open("saltcloud/version.py").read(), "saltcloud/version.py", 'exec')
)
saltcloud_reqs = os.path.join(os.path.abspath(
os.path.dirname(__file__)), 'requirements.txt')
NAME = 'salt-cloud'
VER = __version__
DESC = ('Generic cloud provisioning system with build in functions ')
requirements = ''
with open(saltcloud_reqs) as f:
requirements = f.read()
setup(
name=NAME,
version=VER,
description=DESC,
author='Thomas S Hatch',
author_email='thatch@saltstack.com',
url='http://saltstack.org',
classifiers=[
'Programming Language :: Python',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Development Status :: 3 - Alpha',
'Environment :: Console',
'Intended Audience :: Developers',
'Intended Audience :: Information Technology',
'Intended Audience :: System Administrators',
'License :: OSI Approved :: Apache Software License',
'Operating System :: POSIX :: Linux',
'Topic :: System :: Distributed Computing',
],
packages=['saltcloud',
'saltcloud/utils',
'saltcloud/clouds',
],
package_data={
'saltcloud': ['deploy/*'],
},
data_files=[('share/man/man1',
['doc/man/salt-cloud.1']),
('share/man/man7',
['doc/man/salt-cloud.7'])],
install_requires=requirements,
scripts=['scripts/salt-cloud'],
)