Changeset 14150


Ignore:
Timestamp:
04/20/12 11:43:27 (12 years ago)
Author:
sil
Message:

propedit

Location:
trunk/sara_cmt
Files:
1 deleted
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/sara_cmt

    • Property svn:ignore
      •  

        old new  
        11dist
        22build
         3CMT.egg-info
         4MANIFEST
  • trunk/sara_cmt/MANIFEST.in

    r14146 r14150  
    1 include AUTHORS
    2 include cmt*
    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
     1#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
     1from distutils.core import setup
    32setup(
    43    name = 'CMT',
     
    109    author_email = 'sil.westerveld@sara.nl',
    1110    license = 'GPL',
     11    #long_description = open('README').read(),
    1212    long_description = '''\
    1313CMT is a Cluster Management Tool originally created at SARA Computing and \
     
    3737
    3838# 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'],
    4341
    4442# http://docs.python.org/distutils/setupscript.html#listing-individual-modules
     
    4644#
    4745#    py_modules = ['mod1', 'pkg.mod2'],
    48     #py_modules = ['cmt.py'],
     46    py_modules = ['cmt'],
    4947
    5048# http://docs.python.org/distutils/setupscript.html#relationships-between-distributions-and-packages
    5149# 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.
    5250#
    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    ],
    5467    #provides
    5568    #obsoletes
     
    5770    # http://docs.python.org/distutils/setupscript.html#installing-scripts
    5871    #
    59     #scripts = ['cmt.py'],
     72    #scripts = ['sara_cmt/cmt.py'],
    6073    #scripts = ['cmt', 'cmt.py'],
    6174
     
    6376    # 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.
    6477    #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']
    6782)
    6883#setup(
Note: See TracChangeset for help on using the changeset viewer.