salt/setup.py

54 lines
1.5 KiB
Python
Raw Normal View History

2012-05-01 18:38:34 +00:00
#!/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(
2012-07-13 03:21:39 +00:00
open("saltcloud/version.py").read(), "saltcloud/version.py", 'exec')
2012-05-01 18:38:34 +00:00
)
2012-07-13 18:12:32 +00:00
NAME = 'salt-cloud'
2012-05-01 18:38:34 +00:00
VER = __version__
DESC = ('Generic cloud provisioning system with build in functions ')
setup(
name=NAME,
version=VER,
description=DESC,
author='Thomas S Hatch',
2012-05-20 05:33:47 +00:00
author_email='thatch@saltstack.com',
2012-05-01 18:38:34 +00:00
url='http://saltstack.org',
classifiers=[
'Programming Language :: Python',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
2012-07-13 18:12:32 +00:00
'Development Status :: 3 - Alpha',
2012-05-01 18:38:34 +00:00
'Environment :: Console',
'Intended Audience :: Developers',
'Intended Audience :: Information Technology',
'Intended Audience :: System Administrators',
2012-05-20 05:33:47 +00:00
'License :: OSI Approved :: Apache Software License',
2012-05-01 18:38:34 +00:00
'Operating System :: POSIX :: Linux',
'Topic :: System :: Distributed Computing',
],
packages=['saltcloud',
'saltcloud/utils',
2012-06-19 17:31:31 +00:00
'saltcloud/clouds',
2012-05-01 18:38:34 +00:00
],
2012-07-13 03:21:39 +00:00
package_data={
2012-05-01 18:38:34 +00:00
'saltcloud': ['deploy/*'],
2012-07-13 16:32:47 +00:00
},
data_files=[('share/man/man1',
['doc/man/salt-cloud.1']),
('share/man/man7',
['doc/man/salt-cloud.7'])],
2012-05-01 18:38:34 +00:00
scripts=['scripts/salt-cloud'],
)