Changeset 14150
- Timestamp:
- 04/20/12 11:43:27 (12 years ago)
- Location:
- trunk/sara_cmt
- Files:
-
- 1 deleted
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sara_cmt
- Property svn:ignore
-
old new 1 1 dist 2 2 build 3 CMT.egg-info 4 MANIFEST
-
- Property svn:ignore
-
trunk/sara_cmt/MANIFEST.in
r14146 r14150 1 include AUTHORS2 include cmt* 3 # recursive-include config *4 include config/cmt.cfg5 include sara_cmt/logging.conf6 include sara_cmt/apache/django.wsgi7 recursive-include templates/examples header *.cmt8 exclude sara_cmt/settings_db.py1 #include AUTHORS 2 ##include cmt.py 3 ##recursive-include config * 4 #include config/cmt.cfg 5 #include sara_cmt/logging.conf 6 #include sara_cmt/apache/django.wsgi 7 ##recursive-include templates/examples header *.cmt 8 #exclude sara_cmt/settings_db.py -
trunk/sara_cmt/setup.py
r14147 r14150 1 #from distutils.core import setup 2 from setuptools import setup 1 from distutils.core import setup 3 2 setup( 4 3 name = 'CMT', … … 10 9 author_email = 'sil.westerveld@sara.nl', 11 10 license = 'GPL', 11 #long_description = open('README').read(), 12 12 long_description = '''\ 13 13 CMT is a Cluster Management Tool originally created at SARA Computing and \ … … 37 37 38 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'], 39 #packages = ['sara_cmt', 'sara_cmt/sara_cmt', 'sara_cmt/sara_cmt.cluster', 'sara_cmt/sara_cmt.cluster.templatetags'], 40 packages = ['sara_cmt', 'sara_cmt.cluster', 'sara_cmt.cluster.templatetags'], 43 41 44 42 # http://docs.python.org/distutils/setupscript.html#listing-individual-modules … … 46 44 # 47 45 # py_modules = ['mod1', 'pkg.mod2'], 48 #py_modules = ['cmt.py'],46 py_modules = ['cmt'], 49 47 50 48 # http://docs.python.org/distutils/setupscript.html#relationships-between-distributions-and-packages 51 49 # 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 50 # 53 requires = ['Django (>=1.2)', 'IPy (>=0.75)', 'django_extensions (>=0.4)', 'django_tagging (>=0.3.1)', 'psycopg2 (>=2.4.4)', 'Python (>=2.6)'], 51 #requires = [ 52 # 'Django (>=1.2)', 53 # 'IPy (>=0.75)', 54 # 'django_extensions (>=0.4)', 55 # 'django_tagging (>=0.3.1)', 56 # 'psycopg2 (>=2.4.4)', 57 # 'Python (>=2.6)' 58 #], 59 install_requires = [ 60 'Django>=1.2', 61 'IPy>=0.75', 62 'django_extensions>=0.4', 63 'django_tagging>=0.3.1', 64 'psycopg2>=2.4.4', 65 'Python>=2.6' 66 ], 54 67 #provides 55 68 #obsoletes … … 57 70 # http://docs.python.org/distutils/setupscript.html#installing-scripts 58 71 # 59 #scripts = [' cmt.py'],72 #scripts = ['sara_cmt/cmt.py'], 60 73 #scripts = ['cmt', 'cmt.py'], 61 74 … … 63 76 # 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 77 #package_data = {'': ['cmt', 'cmt.py'],}, 65 package_dir = {'sara_cmt': 'sara_cmt'}, 66 package_data = {'sara_cmt': ['apache/django.wsgi']}, 78 #package_dir = {'sara_cmt': 'sara_cmt'}, 79 #package_data = {'sara_cmt': ['sara_cmt/apache/django.wsgi']}, 80 81 #data_files = ['sara_cmt/sara_cmt/templates/examples/header', 'sara_cmt/sara_cmt/templates/examples/cnames.cmt'] 67 82 ) 68 83 #setup(
Note: See TracChangeset
for help on using the changeset viewer.