From 08d393bde323fd793e7c325f6f2c8dbeb1dc546a Mon Sep 17 00:00:00 2001 From: Dylan Hercher Date: Mon, 28 Jun 2021 15:25:29 -0700 Subject: [PATCH] docs: clean setup (#272) * docs: cleaning requirements file away and using setup to avoid pypi build issues and for better clarity * docs: cleaning requirements file away and using setup to avoid pypi build issues and for better clarity --- requirements.txt | 22 ---------------------- setup.py | 26 ++++++++++++++++++++++++-- 2 files changed, 24 insertions(+), 24 deletions(-) delete mode 100644 requirements.txt diff --git a/requirements.txt b/requirements.txt deleted file mode 100644 index 020a091c4..000000000 --- a/requirements.txt +++ /dev/null @@ -1,22 +0,0 @@ -# Dependency corrections from our requirements -attrs==20.3.0 -grpcio==1.35.0 -lazy-object-proxy==1.4.3 -marshmallow==3.10.0 -# Core dependencies -google-api-python-client==1.12.8 -ibis-framework==1.4.0 -impyla==0.16.3 -SQLAlchemy==1.3.22 -PyMySQL==1.0.2 -psycopg2-binary==2.8.6 -PyYAML==5.4.1 -pandas==1.2.3 -proto-plus==1.13.0 -pyarrow==3.0.0 -pydata-google-auth==1.1.0 -google-cloud-bigquery==2.11.0 -google-cloud-bigquery-storage==2.3.0 -google-cloud-spanner==3.1.0 -setuptools>=34.0.0 -jellyfish==0.8.2 diff --git a/setup.py b/setup.py index 89622b2f8..53acd4624 100644 --- a/setup.py +++ b/setup.py @@ -24,8 +24,30 @@ with open("README.md", "r") as fh: long_description = fh.read() -dependencies = open("requirements.txt").read().strip().split("\n") -dependencies = [v for v in dependencies if not v.startswith("#")] # Remove comments +dependencies = [ + # Dependency corrections from our requirements + "attrs==20.3.0", + "grpcio==1.35.0", + "lazy-object-proxy==1.4.3", + "marshmallow==3.10.0", + # Core dependencies + "google-api-python-client==1.12.8", + "ibis-framework==1.4.0", + "impyla==0.16.3", + "SQLAlchemy==1.3.22", + "PyMySQL==1.0.2", + "psycopg2-binary==2.8.6", + "PyYAML==5.4.1", + "pandas==1.2.3", + "proto-plus==1.13.0", + "pyarrow==3.0.0", + "pydata-google-auth==1.1.0", + "google-cloud-bigquery==2.11.0", + "google-cloud-bigquery-storage==2.3.0", + "google-cloud-spanner==3.1.0", + "setuptools>=34.0.0", + "jellyfish==0.8.2", +] extras_require = { "apache-airflow": "1.10.11",