Skip to content

Commit

Permalink
Use about metadatas in setup
Browse files Browse the repository at this point in the history
  • Loading branch information
Guts committed Jan 2, 2020
1 parent 57b43ab commit 7bb6591
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@

from setuptools import find_packages, setup

# package (to get version)
from isogeotodocx.__about__ import __version__, __summary__
# package to get package metadatas
from isogeo_pysdk import __about__

# SETUP ######################################################################

Expand All @@ -31,25 +31,25 @@
setup(
# meta
name="isogeo-export-docx",
version=__version__,
author="Isogeo",
author_email="support@isogeo.com",
description=__summary__,
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 DOCX Word",
license="LGPL3",
url="https://github.com/isogeo/export-docx-py",
url=__about__.__uri__,
project_urls={
"Docs": "https://isogeo-export-docx-py.readthedocs.io/",
"Bug Reports": "https://github.com/isogeo/export-docx-py/issues/",
"Source": "https://github.com/isogeo/export-docx-py/",
"Bug Reports": "{}issues/".format(__about__.__uri__),
"Source": __about__.__uri__,
},
# dependencies
install_requires=["isogeo-pysdk==3.2.*", "docxtpl==0.6.*"],
install_requires=["isogeo-pysdk==3.2.*,<3.4", "docxtpl==0.6.*"],
extras_require={
"dev": ["black", "python-dotenv"],
"test": ["codecov", "coverage", "pytest", "pytest-cov"],
"test": ["pytest", "pytest-cov"],
},
python_requires=">=3.6, <4",
# packaging
Expand Down

0 comments on commit 7bb6591

Please sign in to comment.