OSDN Git Service

Merge branch 'dev' of ssh://raid.local.hde.co.jp/hde/karesansui/karesansui into dev
[karesansui/karesansui.git] / setup.py
1 #!/usr/bin/env python
2 # -*- coding: utf-8 -*-
3 #
4 # This file is part of Karesansui.
5 #
6 # Copyright (C) 2009-2010 HDE, Inc.
7 #
8 # This program is free software; you can redistribute it and/or
9 # modify it under the terms of the GNU General Public License
10 # as published by the Free Software Foundation; either version 2
11 # of the License, or (at your option) any later version.
12 #
13
14 from distutils.core import setup
15 from karesansui import __app__, __version__, __release__
16
17 import os
18 scripts=['scripts/karesansui.fcgi']
19 for (root, dirs, files) in os.walk('bin'):
20   for f in files:
21     scripts.append("%s" % (os.path.join(root, f),))
22
23 setup(name=__app__,
24     version= '%s.%s' % (__version__, __release__),
25     description='Virtualization management tool(Web Application)',
26     long_description="""On the Web for virtualization management software to manage.
27     The guest OS and the management of resources and dynamic changes can be done easily.
28     RESTful Web applications in architecture.
29     """,
30     author='Kei Funagayama',
31     author_email='kei@karesansui-project.info',
32     maintainer='Kei funagayama',
33     maintainer_email='kei@karesansui-project.info',
34     url='http://karesansui-project.info',
35     download_url='',
36     packages=['karesansui',
37               'karesansui.db',
38               'karesansui.db.access',
39               'karesansui.db.model',
40               'karesansui.gadget',
41               'karesansui.lib',
42               'karesansui.lib.collectd',
43               'karesansui.lib.collectd.action',
44               'karesansui.lib.file',
45               'karesansui.lib.firewall',
46               'karesansui.lib.log',
47               'karesansui.lib.net',
48               'karesansui.lib.parser',
49               'karesansui.lib.parser.base',
50               'karesansui.lib.rrd',
51               'karesansui.lib.service',
52               'karesansui.lib.virt',
53               'karesansui.plus',
54               'karesansui.tests',
55               'karesansui.tests.lib',
56     ],
57     package_data={'':['locale/*/LC_MESSAGES/*.mo',
58                       'templates/*/*/*.html',
59                       'templates/*/*/*.xml',
60                       'templates/*/*/*.json',
61                       'templates/*/*/*.part',
62                       'templates/*/*/*.input',
63                       'templates/*/*/*.tmpl',
64                       'templates/*/data/js/*.js',
65                       'static/css/*',
66                       'static/icon/*',
67                       'static/images/*',
68                       'static/js/*.js',
69                       'static/lib/*.css',
70                       'static/lib/*.js',
71                       'static/lib/jquery.ui/i18n/*.js',
72                       'static/lib/jquery.ui/*.js',
73                       'static/lib/jquery.ui/themes/images/*.png',
74                       'static/lib/jquery.ui/themes/*.css',
75                       ]},
76     scripts=scripts,
77     license='GPL/LGPL',
78     keywords='',
79     platforms='Linux',
80     classifiers=['Development Status :: 5 - Production/Stable', 
81                  'Environment :: Web Environment',
82                  'Environment :: Console',
83                  'Framework :: web.py',
84                  'Framework :: SQLAlchemy',
85                  'Framework :: Mako',
86                  'Framework :: pysilhouette',
87                  'Intended Audience :: System Administrators',
88                  'License :: OSI Approved :: GNU General Public License (GPL)',
89                  'License :: OSI Approved :: GNU Library or Lesser General Public License (LGPL)',
90                  'Natural Language :: Japanese',
91                  'Natural Language :: English',
92                  'Operating System :: POSIX :: Linux',
93                  'Programming Language :: Python :: 2.4',
94                  'Topic :: System :: Systems Administration'],
95 )