-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
83 lines (76 loc) · 2.61 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
80
81
82
83
# -*- coding: utf-8 -*-
# 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_georest',
version='4.0.0',
description='pyramid_georest, extension for pyramid web frame work to provide rest interface for '
'sql-alchemy mappers',
long_description=README + '\n\n' + CHANGES,
long_description_content_type='text/markdown',
classifiers=[
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3.6",
"Framework :: Pyramid",
"Topic :: Internet :: WWW/HTTP",
"Topic :: Internet :: WWW/HTTP :: WSGI :: Application"
],
license='GNU General Public License',
author='Clemens Rudert',
author_email='clemens.rudert@bl.ch',
url='https://github.com/vvmruder/pyramid_georest',
keywords='web pyramid pylons rest sqlalchemy orm model geoalchemy',
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_georest:main
""",
)