-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
47 lines (40 loc) · 1.02 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
from setuptools import setup, find_packages
import os
__version__ = '0.0'
__author__ = 'pylonsproject.jp'
requires = [
"pyramid",
"pyramid_tm",
"pyramid_layout",
"sqlalchemy",
"zope.sqlalchemy",
"deform",
"colander",
"deform_bootstrap",
]
tests_require = [
"testfixtures",
"webtest",
]
here = os.path.dirname(__file__)
def _read(name):
try:
with open(name) as f:
return f.read()
except IOError:
return ""
readme = _read(os.path.join(here, 'README.rst'))
changes = _read(os.path.join(here, 'CHANGES.txt'))
contrib = _read(os.path.join(here, 'CONTRIBUTORS.txt'))
setup(name="mimosa",
version=__version__,
author=__author__,
description="administrator interface for sqlalchemy with pyramid.",
long_description=readme+"\n"+changes+"\n"+contrib,
packages=find_packages(exclude=['tests', 'demo']),
install_requires=requires,
tests_require=tests_require,
extras_require={
"testing": tests_require,
},
)