Skip to content
Snippets Groups Projects
Commit 9782215f authored by Bert Palm's avatar Bert Palm 🎇
Browse files

fix_distutils_deprecation

parent 72fc3910
No related branches found
No related tags found
1 merge request!714fix_distutils_deprecation
# SPDX-FileCopyrightText: 2021 Helmholtz-Zentrum für Umweltforschung GmbH - UFZ
#
# SPDX-License-Identifier: GPL-3.0-or-later
from distutils.util import convert_path
import os
from setuptools import find_packages, setup
# read the version string from saqc without importing it. See the
# link for a more detailed description of the problem and the solution
# https://stackoverflow.com/questions/2058802/how-can-i-get-the-version-defined-in-setup-py-setuptools-in-my-package
vdict = {}
version_fpath = convert_path("saqc/version.py")
with open(version_fpath) as f:
with open(os.path.join("saqc", "version.py")) as f:
vdict = {}
exec(f.read(), vdict)
version = vdict["__version__"]
version = vdict["__version__"]
with open("README.md", "r") as fh:
long_description = fh.read()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment