-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
79 lines (72 loc) · 2.43 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
78
79
# -*- coding: iso-8859-1 -*-
# Copyright (c) 2012 - 2015, GIS-Fachstelle des Amtes für Geoinformation des Kantons Basel-Landschaft
# All rights reserved.
#
# This program is free software and completes the GeoMapFish License for the geoview.bl.ch specific
# parts of the code. You can redistribute it and/or modify it under the terms of the GNU General
# Public License as published by the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# General Public License for more details.
#
# The above copyright notice and this permission notice shall be included in all copies or substantial
# portions of the Software.
import os
from setuptools import setup, find_packages
__author__ = 'Clemens Rudert'
__create_date__ = '30.07.2015'
here = os.path.abspath(os.path.dirname(__file__))
with open(os.path.join(here, 'README.md')) as f:
README = f.read()
with open(os.path.join(here, 'CHANGES.md')) as f:
CHANGES = f.read()
tests_require = [
'WebTest >= 1.3.1', # py3 compat
'pytest', # includes virtualenv
'pytest-cov'
]
requires = [
'pyramid',
'SQLAlchemy',
'shapely',
'dicttoxml',
'geoalchemy2',
'transaction',
'waitress',
'pyramid_debugtoolbar',
'zope.sqlalchemy',
'PyYAML',
'psycopg2',
'simplejson'
]
setup(
name='pyramid_rest',
version='3.0',
description='pyramid_rest, extension for pyramid web frame work to provide rest interface for sql-alchemy mappers',
long_description=README + '\n\n' + CHANGES,
classifiers=[
"Programming Language :: Python",
"Framework :: Pyramid",
"Topic :: Internet :: WWW/HTTP",
"Topic :: Internet :: WWW/HTTP :: WSGI :: Application",
],
author='Clemens Rudert',
author_email='[email protected]',
url='https://github.com/vvmruder/pyramid_rest',
keywords='web pyramid pylons rest sqlalchemy orm model',
packages=find_packages(),
include_package_data=True,
zip_safe=False,
extras_require={
'testing': tests_require,
},
install_requires=requires,
entry_points="""\
[paste.app_factory]
main = pyramid_rest:main
[console_scripts]
initialize_pyramid_rest_db = pyramid_rest.scripts.initializedb:main
""",
)