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