From ea71de184c4f10ee2ac88ea0234898d3e1a0a8fa Mon Sep 17 00:00:00 2001 From: Andrei Sadovskii Date: Fri, 27 Jan 2023 15:14:07 +0300 Subject: [PATCH] Added requirements.txt --- .gitignore | 3 +++ requirements.txt | 3 +++ setup.py | 5 ++++- 3 files changed, 10 insertions(+), 1 deletion(-) create mode 100644 requirements.txt diff --git a/.gitignore b/.gitignore index 8ee3063..e371420 100644 --- a/.gitignore +++ b/.gitignore @@ -35,3 +35,6 @@ nosetests.xml .project .pydevproject *.swp + +.idea +.DS_Store \ No newline at end of file diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 0000000..ece2991 --- /dev/null +++ b/requirements.txt @@ -0,0 +1,3 @@ +sqlalchemy==1.* +numpy +pandas \ No newline at end of file diff --git a/setup.py b/setup.py index 6e2b3ce..1c5d9cc 100644 --- a/setup.py +++ b/setup.py @@ -1,6 +1,9 @@ from distutils.core import setup from setuptools import find_packages +with open("requirements.txt", "r") as f: + requirements = f.read().splitlines() + setup( name="pandasql", version="0.7.3", @@ -13,7 +16,7 @@ package_data={"pandasql": ["data/*.csv"]}, description="sqldf for pandas", long_description=open("README.rst").read(), - install_requires=['numpy', 'pandas', 'sqlalchemy'], + install_requires=requirements, classifiers=[ "License :: OSI Approved :: MIT License", ],