Ignore:
Timestamp:
07/06/12 17:18:42 (12 years ago)
Author:
sil
Message:

Merged branch 1.0 (until tag 1.0.0) back to trunk

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk

  • trunk/sara_cmt/setup.py

    r14170 r14194  
     1#    This file is part of CMT, a Cluster Management Tool made at SARA.
     2#    Copyright (C) 2012  Sil Westerveld
     3#
     4#    This program is free software; you can redistribute it and/or modify
     5#    it under the terms of the GNU General Public License as published by
     6#    the Free Software Foundation; either version 2 of the License, or
     7#    (at your option) any later version.
     8#
     9#    This program is distributed in the hope that it will be useful,
     10#    but WITHOUT ANY WARRANTY; without even the implied warranty of
     11#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     12#    GNU General Public License for more details.
     13#
     14#    You should have received a copy of the GNU General Public License
     15#    along with this program; if not, write to the Free Software
     16#    Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
     17
    118from distutils.core import setup
    219import site
     
    1330    url = 'http://subtrac.sara.nl/oss/cmt/',
    1431    #download_url = ''
    15     author = 'Sil Westerveld',
    16     author_email = 'sil.westerveld@sara.nl',
     32    author = 'CMT Development team',
     33    author_email = 'cmt-users@lists.osd.sara.nl',
    1734    license = 'GPL',
    1835    #long_description = open('README').read(),
    19     long_description = '''\
    20 CMT is a Cluster Management Tool originally created at SARA Computing and \
    21 Networking Services, which is based in Amsterdam and known as SARA nowadays.''',
     36    long_description = 'CMT is a Cluster Management Tool originally created '\
     37        'at SARA Computing and Networking Services, which is based in'\
     38        'Amsterdam and known as SARA nowadays.',
    2239
    23     platforms = ['linux-x86_64'],
     40    platforms = ['linux-x86_64', 'linux-i386' ],
    2441
    2542    # see: http://pypi.python.org/pypi?:action=list_classifiers
     
    4663    packages = ['sara_cmt', 'sara_cmt.cluster', 'sara_cmt.cluster.templatetags'],
    4764
    48 # http://docs.python.org/distutils/setupscript.html#listing-individual-modules
    49 # 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.
    50 #
    51 #    py_modules = ['mod1', 'pkg.mod2'],
    52     #py_modules = ['bin.cmt'],
    53 
    5465# http://docs.python.org/distutils/setupscript.html#relationships-between-distributions-and-packages
    5566# 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.
     
    5869    # Somehow 'requires' doesn't work; dependencies won't be installed
    5970    #requires = [
     71    #    'Python (>=2.6)'
    6072    #    'Django (>=1.2, <1.3)',
    6173    #    'IPy (>=0.75)',
     
    6375    #    'django_tagging (>=0.3.1)',
    6476    #    'psycopg2 (>=2.4.4)',
    65     #    'Python (>=2.6)'
    6677    #],
    6778    install_requires = [
     79        'Python>=2.6',
    6880        'Django>=1.2, <1.3',
    6981        'IPy>=0.75',
    7082        'django_extensions>=0.4',
    7183        'django_tagging>=0.3.1',
    72         'psycopg2>=2.4.4',
    73         'Python>=2.6'
     84        'psycopg2>=2.4.4'
    7485    ],
    75     #provides =
    76     #obsoletes =
    7786
    7887    # http://docs.python.org/distutils/setupscript.html#installing-scripts
     
    8089    #scripts = ['sara_cmt/cmt.py'],
    8190    scripts = ['bin/cmt'],
    82 
    83     # http://docs.python.org/distutils/setupscript.html#installing-package-data
    84     # 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.
    85     #package_dir = {'sara_cmt': 'sara_cmt'},
    86     #package_data = {'sara_cmt': ['sara_cmt/apache/django.wsgi']},
    8791
    8892    # http://docs.python.org/distutils/setupscript.html#installing-additional-files
     
    103107        # examples of CMT-templates
    104108        ('share/doc/cmt/templates/examples', [
    105             'templates/examples/base_allnodes.cmt',
    106             'templates/examples/cnames.cmt',
    107             'templates/examples/first_test.cmt',
    108             'templates/examples/gina_allnodes.cmt',
    109             'templates/examples/header',
    110             'templates/examples/lisa_allnodes.cmt'
     109            'templates/examples/simple_cnames.cmt',
     110            'templates/examples/simple_hostnames.cmt',
     111            'templates/examples/simple_dhcpd.conf.cmt',
     112            'templates/examples/complex_dns.cmt'
    111113        ]),
    112114        # executable
Note: See TracChangeset for help on using the changeset viewer.