-
Notifications
You must be signed in to change notification settings - Fork 21
/
setup.py
67 lines (64 loc) · 2.13 KB
/
setup.py
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
from setuptools import setup, find_packages
from os.path import join, dirname
setup(
name='MOAI',
version='2.0.0',
author='Infrae',
author_email='[email protected]',
url='http://infrae.com/products/moai',
description="MOAI, A Open Access Server Platform for Institutional Repositories",
long_description=(open(join(dirname(__file__), 'ABOUT.txt')).read()+
'\n'+
open(join(dirname(__file__), 'README.txt')).read()+
'\n'+
open(join(dirname(__file__), 'HISTORY.txt')).read()),
classifiers=["Development Status :: 5 - Production/Stable",
"Programming Language :: Python",
"License :: OSI Approved :: BSD License",
"Topic :: Software Development :: Libraries :: Python Modules",
"Environment :: Web Environment"],
packages=find_packages(),
include_package_data = True,
zip_safe=False,
license='BSD',
entry_points= {
'console_scripts': [
'update_moai = moai.tools:update_moai',
],
'paste.app_factory':[
'main=moai.wsgi:app_factory'
],
'moai.content':[
'moai_example=moai.example:ExampleContent'
],
'moai.database':[
'sqlite=moai.database:SQLDatabase',
'mysql=moai.database:SQLDatabase',
'postgres=moai.database:SQLDatabase',
'oracle=moai.database:SQLDatabase'],
'moai.provider':[
'file=moai.provider.file:FileBasedContentProvider',
'list=moai.provider.list:ListBasedContentProvider',
'oai=moai.provider.oai:OAIBasedContentProvider',
'fedora=moai.provider.feadora:FedoraBasedContentProvider'
],
'moai.format':[
'oai_dc=moai.metadata.oaidc:OAIDC',
'mods=moai.metadata.mods:MODS',
'nl_mods=moai.metadata.mods:NL_MODS',
'didl=moai.metadata.didl:DIDL',
'nl_didl=moai.metadata.dare_didl:DareDIDL'
],
},
install_requires=[
'pyoai',
'WSGIUtils',
'wsgi_intercept',
'webob',
'paste',
'pasteDeploy',
'pasteScript',
'sqlalchemy',
],
test_suite='moai.test.suite'
)