Changeset 14194 for trunk/sara_cmt/setup.py
- Timestamp:
- 07/06/12 17:18:42 (12 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk
-
Property
svn:mergeinfo
set to
/branches/1.0 merged eligible
-
Property
svn:mergeinfo
set to
-
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 1 18 from distutils.core import setup 2 19 import site … … 13 30 url = 'http://subtrac.sara.nl/oss/cmt/', 14 31 #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', 17 34 license = 'GPL', 18 35 #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.', 22 39 23 platforms = ['linux-x86_64' ],40 platforms = ['linux-x86_64', 'linux-i386' ], 24 41 25 42 # see: http://pypi.python.org/pypi?:action=list_classifiers … … 46 63 packages = ['sara_cmt', 'sara_cmt.cluster', 'sara_cmt.cluster.templatetags'], 47 64 48 # http://docs.python.org/distutils/setupscript.html#listing-individual-modules49 # 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 54 65 # http://docs.python.org/distutils/setupscript.html#relationships-between-distributions-and-packages 55 66 # 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. … … 58 69 # Somehow 'requires' doesn't work; dependencies won't be installed 59 70 #requires = [ 71 # 'Python (>=2.6)' 60 72 # 'Django (>=1.2, <1.3)', 61 73 # 'IPy (>=0.75)', … … 63 75 # 'django_tagging (>=0.3.1)', 64 76 # 'psycopg2 (>=2.4.4)', 65 # 'Python (>=2.6)'66 77 #], 67 78 install_requires = [ 79 'Python>=2.6', 68 80 'Django>=1.2, <1.3', 69 81 'IPy>=0.75', 70 82 'django_extensions>=0.4', 71 83 'django_tagging>=0.3.1', 72 'psycopg2>=2.4.4', 73 'Python>=2.6' 84 'psycopg2>=2.4.4' 74 85 ], 75 #provides =76 #obsoletes =77 86 78 87 # http://docs.python.org/distutils/setupscript.html#installing-scripts … … 80 89 #scripts = ['sara_cmt/cmt.py'], 81 90 scripts = ['bin/cmt'], 82 83 # http://docs.python.org/distutils/setupscript.html#installing-package-data84 # 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']},87 91 88 92 # http://docs.python.org/distutils/setupscript.html#installing-additional-files … … 103 107 # examples of CMT-templates 104 108 ('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' 111 113 ]), 112 114 # executable
Note: See TracChangeset
for help on using the changeset viewer.