| 1 |
from setuptools import setup, find_packages |
|---|
| 2 |
|
|---|
| 3 |
import django # not served from cheeseshop |
|---|
| 4 |
import mx.DateTime # not served from cheeseshop |
|---|
| 5 |
|
|---|
| 6 |
import sys |
|---|
| 7 |
sys.path.insert(0, './src') |
|---|
| 8 |
from dm import __version__ |
|---|
| 9 |
|
|---|
| 10 |
setup( |
|---|
| 11 |
name = 'domainmodel', |
|---|
| 12 |
version = __version__, |
|---|
| 13 |
package_dir = { '' : 'src' }, |
|---|
| 14 |
packages = find_packages('src'), |
|---|
| 15 |
|
|---|
| 16 |
# no way to specify the dependency on django as we need a specific revision |
|---|
| 17 |
install_requires = [ |
|---|
| 18 |
'SQLObject>=0.6,<=0.7.99', |
|---|
| 19 |
'simplejson', |
|---|
| 20 |
# 'Django>=0.95' # Django not served on cheese shop |
|---|
| 21 |
# 'mxDateTime', # not sure about this, maybe wrong name |
|---|
| 22 |
], |
|---|
| 23 |
|
|---|
| 24 |
# metadata for upload to PyPI |
|---|
| 25 |
author = 'Open Knowledge Foundation and Appropriate Software Foundation', |
|---|
| 26 |
author_email = 'kforge-dev@lists.okfn.org', |
|---|
| 27 |
license = 'GPL', |
|---|
| 28 |
url = 'http://www.kforgeproject.com/', |
|---|
| 29 |
download_url = 'http://www.kforgeproject.com/files/domainmodel-%s.tar.gz' % __version__, |
|---|
| 30 |
description = 'Toolkit for enterprise application frameworks.', |
|---|
| 31 |
long_description = \ |
|---|
| 32 |
""" |
|---|
| 33 |
DomainModel provides a toolkit for enterprise application frameworks. |
|---|
| 34 |
""", |
|---|
| 35 |
classifiers = [ |
|---|
| 36 |
'Development Status :: 3 - Alpha', |
|---|
| 37 |
'Environment :: Console', |
|---|
| 38 |
'Environment :: Web Environment', |
|---|
| 39 |
'Intended Audience :: Developers', |
|---|
| 40 |
'License :: OSI Approved :: GNU General Public License (GPL)', |
|---|
| 41 |
'Operating System :: OS Independent', |
|---|
| 42 |
'Programming Language :: Python', |
|---|
| 43 |
'Topic :: Software Development :: Libraries :: Python Modules'], |
|---|
| 44 |
) |
|---|
| 45 |
|
|---|