forked from nextgis/nextgisweb
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
79 lines (71 loc) · 1.81 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
from subprocess import check_output, CalledProcessError
from setuptools import setup, find_packages
try:
gv = check_output(['gdal-config', '--version']).strip()
except CalledProcessError:
gv = None
requires = [
'pyramid>=1.5',
'SQLAlchemy>=0.8,<0.9',
'transaction',
'pyramid_tm',
'pyramid_debugtoolbar',
'pyramid_mako',
'zope.sqlalchemy',
'zope.interface',
'bunch',
'flufl.enum',
'waitress',
'pygdal' + (('>=' + gv + '.0,<=' + gv + '.9999') if gv else ''),
'psycopg2',
'geoalchemy2',
'shapely',
'geojson',
'unicodecsv',
'pillow',
'lxml',
'passlib',
'owslib>0.11.0',
'requests',
'babel',
]
entry_points = {
'paste.app_factory': [
'main = nextgisweb:main'
],
'babel.extractors': [
'hbs = nextgisweb.i18n.hbs:extract',
],
'console_scripts': [
'nextgisweb = nextgisweb.script:main',
'nextgisweb-config = nextgisweb.script:config',
'nextgisweb-i18n = nextgisweb.i18n.script:main',
],
'nextgisweb.packages': ['nextgisweb = nextgisweb:pkginfo', ],
'nextgisweb.amd_packages': [
'nextgisweb = nextgisweb:amd_packages',
],
}
setup(
name='nextgisweb',
version='3.0',
description='nextgisweb',
long_description="",
classifiers=[
"Programming Language :: Python",
"Framework :: Pyramid",
"Topic :: Internet :: WWW/HTTP",
"Topic :: Internet :: WWW/HTTP :: WSGI :: Application",
],
author='NextGIS',
author_email='[email protected]',
url='http://nextgis.com',
keywords='web wsgi bfg pylons pyramid',
packages=find_packages(),
include_package_data=True,
zip_safe=False,
test_suite='nextgisweb',
install_requires=requires,
tests_require=['nose', ],
entry_points=entry_points,
)