2011-02-27 21:31:57 +00:00
|
|
|
#!/usr/bin/python2
|
2011-02-27 22:17:45 +00:00
|
|
|
'''
|
|
|
|
The setup script for salt
|
|
|
|
'''
|
2011-04-03 22:25:17 +00:00
|
|
|
import os
|
2011-02-27 21:31:57 +00:00
|
|
|
from distutils.core import setup
|
2011-04-03 22:25:17 +00:00
|
|
|
from distutils.extension import Extension
|
|
|
|
from distutils.sysconfig import get_python_lib
|
|
|
|
|
|
|
|
mod_path = os.path.join(get_python_lib(), 'salt/modules/')
|
2011-02-27 21:31:57 +00:00
|
|
|
|
|
|
|
setup(name='salt',
|
2011-04-17 05:58:48 +00:00
|
|
|
version='0.8.0',
|
2011-02-27 21:31:57 +00:00
|
|
|
description='Portable, distrubuted, remote execution system',
|
|
|
|
author='Thomas S Hatch',
|
|
|
|
author_email='thatch45@gmail.com',
|
|
|
|
url='https://github.com/thatch45/salt',
|
2011-04-02 05:38:20 +00:00
|
|
|
packages=['salt',
|
|
|
|
'salt.modules',
|
2011-04-16 20:48:13 +00:00
|
|
|
'salt.cli',
|
|
|
|
'salt.returners',
|
|
|
|
],
|
2011-02-27 21:31:57 +00:00
|
|
|
scripts=['scripts/salt-master',
|
2011-03-09 17:52:22 +00:00
|
|
|
'scripts/salt-minion',
|
2011-03-24 05:50:34 +00:00
|
|
|
'scripts/saltkey',
|
2011-04-13 02:26:04 +00:00
|
|
|
'scripts/salt-cp',
|
2011-04-23 20:34:46 +00:00
|
|
|
'scripts/salt-call',
|
2011-03-09 17:52:22 +00:00
|
|
|
'scripts/salt'],
|
2011-03-07 16:16:12 +00:00
|
|
|
data_files=[('/etc/salt',
|
2011-03-03 17:57:11 +00:00
|
|
|
['conf/master',
|
|
|
|
'conf/minion',
|
2011-02-27 21:31:57 +00:00
|
|
|
]),
|
2011-04-02 05:22:19 +00:00
|
|
|
('share/man/man1',
|
|
|
|
['man/salt-master.1',
|
|
|
|
'man/saltkey.1',
|
|
|
|
'man/salt.1',
|
|
|
|
'man/salt-minion.1',
|
2011-04-02 05:38:20 +00:00
|
|
|
]),
|
2011-04-02 05:22:19 +00:00
|
|
|
('share/man/man7',
|
2011-04-02 05:54:16 +00:00
|
|
|
['man/salt.7',
|
2011-04-02 05:38:20 +00:00
|
|
|
]),
|
2011-04-03 22:25:17 +00:00
|
|
|
(mod_path,
|
|
|
|
['salt/modules/cytest.pyx',
|
|
|
|
])
|
2011-02-27 21:31:57 +00:00
|
|
|
],
|
|
|
|
)
|