- Timestamp:
- 04/24/12 10:56:56 (12 years ago)
- Location:
- trunk/sara_cmt
- Files:
-
- 1 deleted
- 3 edited
- 1 copied
- 2 moved
Legend:
- Unmodified
- Added
- Removed
-
trunk/sara_cmt
- Property svn:ignore
-
old new 3 3 CMT.egg-info 4 4 MANIFEST 5 CMT-*
-
- Property svn:ignore
-
trunk/sara_cmt/MANIFEST.in
r14150 r14151 1 1 #include AUTHORS 2 2 ##include cmt.py 3 ##recursive-include config*4 #include config/cmt.c fg5 #include sara_cmt/logging.conf3 recursive-include etc * 4 #include config/cmt.conf 5 include sara_cmt/logging.conf 6 6 #include sara_cmt/apache/django.wsgi 7 ##recursive-include templates/examples header *.cmt7 recursive-include templates/examples header *.cmt 8 8 #exclude sara_cmt/settings_db.py -
trunk/sara_cmt/bin/cmt.py
r14149 r14151 1 #!/usr/bin/ python1 #!/usr/bin/env python 2 2 3 3 ##### … … 49 49 ##### 50 50 # 51 # <Decorators >51 # <Decorators/etc/cmt/> 52 52 # 53 53 … … 79 79 80 80 # Instantiate ConfigParser 81 configfile = os.path.join(settings.PROJECT_BASE, ' config/cmt.cfg')81 configfile = os.path.join(settings.PROJECT_BASE, '/etc/cmt/cmt.conf') 82 82 config_parser = ConfigParser.ConfigParser() 83 83 config_parser.optionxform = lambda x: x -
trunk/sara_cmt/setup.py
r14150 r14151 8 8 author = 'Sil Westerveld', 9 9 author_email = 'sil.westerveld@sara.nl', 10 #maintainer = 'Sil Westerveld', 11 #maintainer_email = 'sil.westerveld@sara.nl', 10 12 license = 'GPL', 11 13 #long_description = open('README').read(), … … 44 46 # 45 47 # py_modules = ['mod1', 'pkg.mod2'], 46 py_modules = [' cmt'],48 py_modules = ['bin.cmt'], 47 49 48 50 # http://docs.python.org/distutils/setupscript.html#relationships-between-distributions-and-packages 49 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. 50 52 # 53 # 54 # Somehow 'requires' doesn't work; dependencies won't be installed 51 55 #requires = [ 52 56 # 'Django (>=1.2)', … … 65 69 'Python>=2.6' 66 70 ], 67 #provides 68 #obsoletes 71 #provides = 72 #obsoletes = 69 73 70 74 # http://docs.python.org/distutils/setupscript.html#installing-scripts … … 75 79 # http://docs.python.org/distutils/setupscript.html#installing-package-data 76 80 # 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. 77 #package_data = {'': ['cmt', 'cmt.py'],},78 81 #package_dir = {'sara_cmt': 'sara_cmt'}, 79 82 #package_data = {'sara_cmt': ['sara_cmt/apache/django.wsgi']}, 80 83 81 #data_files = ['sara_cmt/sara_cmt/templates/examples/header', 'sara_cmt/sara_cmt/templates/examples/cnames.cmt'] 84 # http://docs.python.org/distutils/setupscript.html#installing-additional-files 85 # The data_files option can be used to specify additional files needed by the module distribution: configuration files, message catalogs, data files, anything which doesn't fit in the previous categories. 86 # data_files specifies a sequence of (directory, files) pairs in the following way: 87 # data_files=[('bitmaps', ['bm/b1.gif', 'bm/b2.gif']), 88 # ('/etc/init.d', ['init-script'])] 89 data_files = [ 90 ('/etc/cmt/', ['etc/cmt.conf']), 91 ('/etc/cmt/templates/examples', ['templates/examples/*']), 92 ('/usr/local/bin/', ['bin/cmt.py']), 93 ] 82 94 ) 83 #setup(84 # #maintainer = ''85 # #maintainer_email = ''86 #87 # data_files = [('config', ['config/cmt.cfg'])],88 #)
Note: See TracChangeset
for help on using the changeset viewer.