source: trunk/sara_cmt/setup.py @ 14147

Last change on this file since 14147 was 14147, checked in by sil, 12 years ago

propset to ignore build- and dist-directories

File size: 3.8 KB
Line 
1#from distutils.core import setup
2from setuptools import setup
3setup(
4    name = 'CMT',
5    version = '1.0',
6    description = 'Cluster Management Tool',
7    url = 'http://subtrac.sara.nl/oss/cmt/',
8    #download_url = ''
9    author = 'Sil Westerveld',
10    author_email = 'sil.westerveld@sara.nl',
11    license = 'GPL',
12    long_description = '''\
13CMT is a Cluster Management Tool originally created at SARA Computing and \
14Networking Services, which is based in Amsterdam and known as SARA nowadays.''',
15
16    platforms = ['linux-x86_64'],
17
18    # see: http://pypi.python.org/pypi?:action=list_classifiers
19    classifiers = [
20        #'Development Status :: 4 - Beta',
21        'Development Status :: 5 - Production/Stable',
22        'Environment :: Console',
23        'Environment :: Web Environment',
24        'Framework :: Django',
25        'Intended Audience :: System Administrators',
26        'License ::  OSI Approved :: GNU General Public License (GPL)',
27        'Natural Language :: English',
28        'Operating System :: POSIX :: Linux',
29        'Programming Language :: Python :: 2.6',
30        'Topic :: Database :: Front-Ends',
31        'Topic :: System :: Clustering',
32        'Topic :: System :: System Administration',
33        'Topic :: Utilities',
34    ],
35
36
37
38# http://docs.python.org/distutils/setupscript.html#listing-whole-packages
39# The packages option tells the Distutils to process (build, distribute, install, etc.) all pure Python modules found in each package mentioned in the packages list. In order to do this, of course, there has to be a correspondence between package names and directories in the filesystem. The default correspondence is the most obvious one, i.e. package distutils is found in the directory distutils relative to the distribution root. Thus, when you say packages = ['foo'] in your setup script, you are promising that the Distutils will find a file foo/__init__.py (which might be spelled differently on your system, but you get the idea) relative to the directory where your setup script lives.
40#
41    packages = ['', 'sara_cmt', 'sara_cmt.cluster', 'sara_cmt.cluster.templatetags'],
42    #packages = ['sara_cmt', 'sara_cmt.cluster', 'sara_cmt.cluster.templatetags'],
43
44# http://docs.python.org/distutils/setupscript.html#listing-individual-modules
45# This describes two modules, one of them in the "root" package, the other in the pkg package. Again, the default package/directory layout implies that these two modules can be found in mod1.py and pkg/mod2.py, and that pkg/__init__.py exists as well.
46#
47#    py_modules = ['mod1', 'pkg.mod2'],
48    #py_modules = ['cmt.py'],
49
50# http://docs.python.org/distutils/setupscript.html#relationships-between-distributions-and-packages
51# Dependencies on other Python modules and packages can be specified by supplying the requires keyword argument to setup(). The value must be a list of strings. Each string specifies a package that is required, and optionally what versions are sufficient.
52#
53    requires = ['Django (>=1.2)', 'IPy (>=0.75)', 'django_extensions (>=0.4)', 'django_tagging (>=0.3.1)', 'psycopg2 (>=2.4.4)', 'Python (>=2.6)'],
54    #provides
55    #obsoletes
56
57    # http://docs.python.org/distutils/setupscript.html#installing-scripts
58    #
59    #scripts = ['cmt.py'],
60    #scripts = ['cmt', 'cmt.py'],
61
62    # http://docs.python.org/distutils/setupscript.html#installing-package-data
63    # Often, additional files need to be installed into a package. These files are often data that's closely related to the package's implementation, or text files containing documentation that might be of interest to programmers using the package. These files are called package data.
64    #package_data = {'': ['cmt', 'cmt.py'],},
65    package_dir = {'sara_cmt': 'sara_cmt'},
66    package_data = {'sara_cmt': ['apache/django.wsgi']},
67)
68#setup(
69#    #maintainer = ''
70#    #maintainer_email = ''
71#
72#    data_files = [('config', ['config/cmt.cfg'])],
73#)
Note: See TracBrowser for help on using the repository browser.