Changeset 66
- Timestamp:
- 11/08/06 18:39:47 (2 years ago)
- Files:
-
- trunk/INSTALL (modified) (1 diff)
- trunk/setup.cfg (deleted)
- trunk/setup.py (modified) (2 diffs)
- trunk/setup_helper.py (deleted)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/INSTALL
r35 r66 9 9 ### 1. Check all dependencies (see below) ### 10 10 11 The system depends on these packages. Please make sure you have them 12 (or equivalents) installed on your system. (NB: these are the Debian names and 13 might be slightly different on your system) 11 Python dependencies marked with a (*) will be automatically installed when you 12 run setup.py. 14 13 15 postgresql (object-relational SQL database management system) 16 postgresql-client (front-end programs for PostgreSQL) 17 python-psycopg (Python DB-API interface to PostgreSQL) 18 python-sqlobject (Python module for SQLObject) 19 libapache2-mod-python 20 libapache2-mod-ssl [optional] 21 22 django 23 * check out the code (revision 304): 24 svn co http://code.djangoproject.com/svn/django/trunk/ -r304 25 * cd to the directory you checked out, and run: 26 python setup.py install 14 * A database such as postgresql of mysql 15 * python-sqlobject (Python module for SQLObject) (*) 16 * django 17 * check out the code (revision 3964): 18 $ svn co http://code.djangoproject.com/svn/django/trunk/ -r3964 19 * cd to the directory you checked out, and run: 20 $ python setup.py install 27 21 28 22 ### 2. Install package ### trunk/setup.py
r43 r66 1 #!/usr/bin/env python 1 from setuptools import setup, find_packages 2 2 3 from distutils.core import setup 4 from setup_helper import * 3 # get the version number 5 4 import sys 6 5 sys.path.insert(0, './src') 7 import dm 8 9 basePath = os.path.abspath(os.path.dirname(sys.argv[0])) 6 from dm import __version__ 10 7 11 8 setup( 12 9 name = 'domainmodel', 13 version = dm.__version__, 10 version = __version__, 11 packages = find_packages(), 12 13 # no way to specify the dependency on django as we need a specific revision 14 install_requires = ['SQLObject>=0.6,<=0.7.99'], # 'Django>=0.95,'], 15 16 # metadata for upload to PyPI 14 17 author = 'Open Knowledge Foundation', 15 18 author_email = 'kforge-dev@lists.okfn.org', 16 19 license = 'LGPL', 17 20 url = 'http://www.kforgeproject.com/', 21 download_url = "http://www.openshakespeare.org/code/", 18 22 description = 'Framework for enterprise applications.', 19 23 long_description = \ … … 21 25 DomainModel provides a framework for enterprise software applications. 22 26 """, 23 package_dir = {'': 'src'}, 24 packages = getPackages(os.path.join(basePath, 'src')), 27 classifiers = [ 28 'Development Status :: 3 - Alpha', 29 'Environment :: Console', 30 'Environment :: Web', 31 'Intended Audience :: Developers', 32 'License :: OSI Approved :: LGPL', 33 'Operating System :: OS Independent', 34 'Programming Language :: Python', 35 'Topic :: Software Development :: Libraries :: Python Modules'], 25 36 ) 26 37
