forked from openoereb/pyramid_oereb
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
61 lines (58 loc) · 2.45 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
# -*- coding: utf-8 -*-
import os
import re
from setuptools import setup, find_packages
HERE = os.path.abspath(os.path.dirname(__file__))
with open(os.path.join(HERE, 'README.rst')) as f:
README = f.read()
with open(os.path.join(HERE, 'CHANGES.rst')) as f:
CHANGES = f.read()
with open('requirements.txt') as f:
re_ = a = re.compile(r'(.+)==')
recommend = f.read().splitlines()
requires = [re_.match(r).group(1) for r in recommend]
setup(
name='pyramid_oereb',
version='1.8.1',
description='pyramid_oereb, extension for pyramid web frame work to provide '
'a basic server part for the oereb project',
long_description='{readme}\n\n{changes}'.format(readme=README, changes=CHANGES),
long_description_content_type='text/x-rst',
classifiers=[
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Framework :: Pyramid",
"Topic :: Internet :: WWW/HTTP",
"Topic :: Internet :: WWW/HTTP :: WSGI :: Application"
],
license='BSD 2',
author='Clemens Rudert',
author_email='[email protected]',
url='https://github.com/openoereb/pyramid_oereb',
keywords='pyramid oereb',
packages=find_packages(),
include_package_data=True,
zip_safe=False,
extras_require={
'recommend': recommend,
'no-version': requires,
},
entry_points={
'paste.app_factory': [
'main = pyramid_oereb:main'
],
'console_scripts': [
'create_standard_model = pyramid_oereb.standard.create_standard_models:create_standard_model',
'create_oereblex_model = pyramid_oereb.contrib.scripts:create_oereblex_model',
'create_standard_tables = pyramid_oereb.standard.create_tables:create_standard_tables',
'create_theme_tables = pyramid_oereb.standard.create_tables:create_theme_tables',
'create_standard_yaml = pyramid_oereb.standard.create_yaml:create_standard_yaml',
'drop_standard_tables = pyramid_oereb.standard.drop_tables:drop_standard_tables',
'create_legend_entries = pyramid_oereb.standard.load_legend_entries:run',
'import_federal_topic = pyramid_oereb.standard.import_federal_topic:run',
'create_stats_tables = pyramid_oereb.contrib.stats.scripts.create_stats_tables:create_stats_tables' # noqa: E501
]
}
)