forked from 3liz/lizmap-plugin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
46 lines (39 loc) · 1.21 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
"""
Install lizmap api as standard python package.
"""
import configparser
from setuptools import setup
kwargs = {}
# Read tag from metadata
metadata = configparser.ConfigParser()
metadata.read('lizmap/metadata.txt')
version_tag = metadata['general']['version'].replace("version", "").strip()
with open('README.md') as f:
kwargs['long_description'] = f.read()
setup(
name='lizmap-api',
version=version_tag,
author='3Liz',
author_email='[email protected]',
maintainer='Michael Douchin',
maintainer_email='[email protected]',
description="Python API to create lizmap configuration",
url='https://github.com/3liz/lizmap-plugin',
packages=['lizmap_api'],
entry_points={
'console_scripts': [
'lizmapcfg = lizmap_api.commands:create_config',
]
},
classifiers=[
'Environment :: Web Environment',
'Intended Audience :: Developers',
'Intended Audience :: Science/Research',
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3",
"Operating System :: POSIX :: Linux",
"Topic :: Scientific/Engineering :: GIS",
],
**kwargs
)