File setup.py of Package failed_python-pandas-datareader
from setuptools import setup, find_packages
# Try to get the version from versioneer, but fall back to a static
# version string if versioneer is incompatible with the Python runtime
# (e.g. older versioneer using SafeConfigParser that breaks on Py >= 3.12).
try:
import versioneer
version = versioneer.get_version()
cmdclass = versioneer.get_cmdclass()
except Exception:
# Minimal safe fallback so build proceeds even if versioneer fails.
version = "0.10.0"
cmdclass = {}
# Minimal setup metadata sufficient for a source build.
setup(
name="pandas-datareader",
version=version,
description="Data readers for pandas",
long_description="pandas-datareader: remote data access for pandas",
packages=find_packages(),
include_package_data=True,
install_requires=[
"pandas>=1.0",
# Keep runtime requirements minimal here; the RPM spec controls deps.
],
cmdclass=cmdclass,
author="pandas-datareader maintainers",
author_email="",
url="https://github.com/pydata/pandas-datareader",
)