mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 01:18:58 +00:00
61 lines
1.7 KiB
Python
Executable File
61 lines
1.7 KiB
Python
Executable File
#!/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'],
|
|
)
|