-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
62 lines (57 loc) · 2.01 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
import re
import os
from glob import glob
from os.path import splitext, basename
from setuptools import setup, find_packages
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, 'CHANGELOG.md')) as f:
changelog = f.read()
with open(os.path.join(here, 'requirements.txt')) as f:
re_ = a = re.compile(r'(.+)==')
recommend = f.read().splitlines()
requires = [re_.match(r).group(1) for r in recommend]
tests_require = [
'WebTest >= 1.3.1', # py3 compat
'pytest==7.4.2', # includes virtualenv
'pytest-cov'
]
setup(
name='geolink2oereb',
version='0.1.9',
description='Transforms a geolink to OeREBKRMtrsfr_V2_0 document entities',
license='BSD',
long_description='{readme}\n\n{changelog}'.format(readme=readme, changelog=changelog),
long_description_content_type='text/markdown',
classifiers=[
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"License :: OSI Approved :: BSD License",
"Natural Language :: English",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Topic :: Scientific/Engineering :: GIS",
"Topic :: Software Development :: Libraries :: Python Modules"
],
author='Clemens Rudert',
author_email='[email protected]',
url='https://github.com/openoereb/geolink2oereb',
keywords='oereb lex geolink formatter html OeREBKRMtrsfr_V2_0',
packages=find_packages('src'),
package_dir={'': 'src'},
py_modules=[splitext(basename(path))[0] for path in glob('src/*.py')],
include_package_data=True,
zip_safe=False,
extras_require={
'recommend': recommend,
'no-version': requires,
'testing': tests_require,
},
entry_points={
'console_scripts': [
'load_documents = geolink2oereb.cli:geolink2oereb'
]
}
)