This repository has been archived by the owner on Dec 18, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
71 lines (61 loc) · 2.2 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
# -*- coding: utf-8 -*-
#!/usr/bin/env python3
"""
Setup script to package Isogeo PySDK Python module
see: https://github.com/isogeo/xml-toolbelt-py/
"""
# ############################################################################
# ########## Libraries #############
# ##################################
# standard library
import pathlib
from setuptools import find_packages, setup
# package (to get version)
from isogeo_xml_toolbelt import __about__
# SETUP ######################################################################
# The directory containing this file
HERE = pathlib.Path(__file__).parent
# The text of the README file
README = (HERE / "README.md").read_text()
# setup metadata
setup(
# meta
name="isogeo-xml-toolbelt",
version=__about__.__version__,
author=__about__.__author__,
author_email=__about__.__email__,
description=__about__.__summary__,
long_description=README,
long_description_content_type="text/markdown",
keywords="GIS metadata INSPIRE Isogeo API REST geographical data ISO19110 ISO19139 XML geonetwork",
license="LGPL3",
url=__about__.__uri__,
project_urls={
"Docs": "https://isogeo-xml-toolbelt.readthedocs.io/",
"Bug Reports": "https://github.com/isogeo/xml-toolbelt-py/issues/",
"Source": "https://github.com/isogeo/xml-toolbelt-py/",
},
# dependencies
install_requires=["lxml==4.4.*"],
extras_require={
"dev": ["black", "python-dotenv"],
"test": ["pytest", "pytest-cov"],
},
python_requires=">=3.6, <4",
# packaging
packages=find_packages(
exclude=["contrib", "docs", "*.tests", "*.tests.*", "tests.*", "tests"]
),
include_package_data=True,
classifiers=[
"Intended Audience :: Developers",
"Intended Audience :: Information Technology",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Development Status :: 5 - Production/Stable",
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
"Operating System :: OS Independent",
"Topic :: Software Development :: Libraries :: Python Modules",
],
)