diff --git a/pydbsmgr/VERSION b/pydbsmgr/VERSION index f514a2f..f76f913 100644 --- a/pydbsmgr/VERSION +++ b/pydbsmgr/VERSION @@ -1 +1 @@ -0.9.1 \ No newline at end of file +0.9.2 \ No newline at end of file diff --git a/requirements.txt b/requirements.txt index 385fae6..2aedb15 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,4 +1,4 @@ -numpy +numpy<2.0.0 pandas clean-text missingno diff --git a/setup.py b/setup.py index 2ea00d2..91afabd 100644 --- a/setup.py +++ b/setup.py @@ -1,6 +1,13 @@ from pathlib import Path import setuptools +from pip._internal.req import parse_requirements + +# Parse the requirements.txt file +requirements = parse_requirements("requirements.txt", session="hack") + +# Get the list of requirements as strings +install_requires = [str(req.requirement) for req in requirements] with open("README.md", "r", encoding="utf-8") as fh: long_description = fh.read() @@ -27,24 +34,7 @@ project_urls={"Bug Tracker": "https://github.com/jzsmoreno/pydbsmgr"}, license="MIT", packages=setuptools.find_packages(exclude=["*.tests", "*.tests.*", "tests.*", "tests"]), - install_requires=[ - "numpy<2.0.0", - "pandas", - "clean-text", - "missingno", - "pyodbc", - "ipython", - "SQLAlchemy", - "pyyaml", - "azure-storage-blob==12.16.0", - "python-dotenv==1.0.0", - "openpyxl==3.1.2", - "pyarrow", - "fastparquet", - "loguru", - "psutil", - "Unidecode", - ], + install_requires=install_requires, classifiers=[ "Programming Language :: Python :: 3", "License :: OSI Approved :: MIT License",