chriseppstein / pywebmvc

A MVC Web Framework written in python for use with mod_python. It's designed in the spirit of struts.

This URL has Read+Write access

chris (author)
Sat Mar 24 09:42:58 -0700 2007
pywebmvc / setup.py
100644 39 lines (36 sloc) 1.375 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
from distutils.core import setup
from os.path import exists
 
if exists("VERSION"):
  revFile = file("VERSION")
  ver = revFile.read()
  if ver[-1:] == '\n':
    ver = ver[:-1]
else:
  ver = "0.0.0"
 
setup(name='pywebmvc',
      version=ver,
      description='Python MVC Web Server Framework',
      author='Christopher Eppstein',
      author_email='chris.eppstein@teneros.com',
      url='http://www.teneros.com/opensource/pywebmvc/index.html',
      packages=[
                 'pywebmvc',
                 'pywebmvc.framework',
                 'pywebmvc.framework.render',
                 'pywebmvc.tools',
                 'pywebmvc.mock',
                 'pywebmvc.unittest',
                 'pywebmvc.unittest.test_framework',
                 'pywebmvc.unittest.test_tools',
               ],
      package_dir = {
                      'pywebmvc' : 'src/code/pywebmvc',
                      'pywebmvc.mock' : 'test/mock',
                      'pywebmvc.unittest' : 'test/unittest',
                    },
      data_files = [
                     ('/opt/pywebmvc/style', ['src/web/style/pywebmvc.css',]),
                     ('/opt/pywebmvc/script', ['src/web/script/pywebmvc.js', 'src/web/script/searchtool.js', ]),
                     ('/opt/pywebmvc/resources/en', ['src/resources/en/ToolMessageResources.properties',]),
                   ],
     )