forked from infrae/moai
-
Notifications
You must be signed in to change notification settings - Fork 2
/
setup.py
77 lines (76 loc) · 2.5 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
66
67
68
69
70
71
72
73
74
75
76
77
from setuptools import setup, find_packages
from os.path import join, dirname
setup(
name='MOAI',
version='3.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_yoda=moai.yoda:YodaContent'
],
'moai.database':[
'sqlite=moai.database:SQLDatabase',
'mysql=moai.database:SQLDatabase',
'postgres=moai.database:SQLDatabase',
'oracle=moai.database:SQLDatabase',
'sqlite+pysqlite3=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',
'datacite=moai.metadata.datacite:DataCite',
'oai_datacite=moai.metadata.datacite:DataCite',
'iso19139=moai.metadata.iso:Iso',
'mods=moai.metadata.mods:MODS',
'didl=moai.metadata.didl:DIDL'
],
},
install_requires=[
'pyoai==2.5.0',
'WSGIUtils',
'wsgi_intercept',
'webob',
'paste',
'pasteDeploy',
'pasteScript',
'sqlalchemy==2.0.9',
'xmltodict',
'mod-wsgi==4.9.3',
'wsgiserver',
'lxml==4.9.2',
'requests==2.32.0',
'sqlalchemy-pysqlite3==0.0.4'
],
dependency_links=[
'git+https://github.com/shasha79/pastescript'
],
test_suite='moai.test.suite'
)