This repository has been archived by the owner on Dec 27, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 8
/
setup.py
61 lines (55 loc) · 2.39 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
61
import sys
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
version = '0.9.2'
# Anyone know a better way to do python version conditionals in install_requires?
modules = ['amqplib', 'couchdbkit', 'pyyaml']
if sys.version_info < (2, 7):
two_six = ['argparse', 'anyjson']
modules.extend(two_six)
if __name__ == "__main__":
setup(name='vogeler',
version=version,
description="Python-based CMDB Framework",
long_description="Vogeler is a framework for building a configuration management system. It uses a modern communication framework built around message queues to get information from systems on demand.",
classifiers=[
'Development Status :: 4 - Beta',
'Environment :: Console',
'Intended Audience :: System Administrators',
'License :: OSI Approved :: GNU General Public License (GPL)',
'Natural Language :: English',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Topic :: System :: Systems Administration',
'Operating System :: POSIX :: Linux',
],
keywords='cmdb',
author='John E. Vincent',
author_email='lusis.org+github.com@gmail.com',
url='http://lusis.github.com/vogeler',
packages=[
"vogeler",
"vogeler.db",
"vogeler.queue",
],
install_requires=modules,
scripts=[
"scripts/vogeler-client",
"scripts/vogeler-runner",
"scripts/vogeler-server",
],
data_files=[
('/tmp/vogeler',
['etc/vogeler/vogeler.conf'] ),
('/tmp/vogeler/plugins',
['etc/vogeler/plugins/facter.cfg', 'etc/vogeler/plugins/rpms.cfg', 'etc/vogeler/plugins/ps.cfg', 'etc/vogeler/plugins/ohai.cfg'] ),
("/tmp/vogeler/_design/system_records/views/all",
['etc/vogeler/_design/system_records/views/all/map.js'] ),
("/tmp/vogeler/_design/system_records/views/by_name",
['etc/vogeler/_design/system_records/views/by_name/map.js'] ),
("/tmp/vogeler/_design/system_records/views/packages_by_host",
['etc/vogeler/_design/system_records/views/packages_by_host/map.js'] )
],
)