File tree Expand file tree Collapse file tree 3 files changed +13
-20
lines changed Expand file tree Collapse file tree 3 files changed +13
-20
lines changed Original file line number Diff line number Diff line change 1+ pytest >= 5.4.0 < 5.5.0
2+ mypy >= 0.782
3+ pre-commit >= 2.6.0
4+ pytest-cov >= 2.10.0
5+ pytest-mock >= 1.11.1 <= 3.2.0
6+ wheel >= 0.33
7+ -e .
Original file line number Diff line number Diff line change 11scramp >= 1.2.0 < 1.3.0
2- pytest >= 5.4.0 < 5.5.0
32pytz >= 2020.1 < 2020.2
43beautifulsoup4 >= 4.7.0 < 4.8.0
54boto3 >= 1.16.8 < 1.17.0
65requests >= 2.23.0 < 2.24.0
76lxml >= 4.2.5 < 4.6.0
87botocore >= 1.19.8 < 1.20.0
9- mypy >= 0.782
10- pre-commit >= 2.6.0
11- numpy >= 1.16.3 < 1.20.0
12- pandas >= 0.25.3 < 1.1.0
13- pytest-cov >= 2.10.0
14- pytest-mock >= 1.11.1 <= 3.2.0
15- wheel >= 0.33
Original file line number Diff line number Diff line change @@ -84,6 +84,10 @@ def get_tag(self):
8484 long_description = f .read ()
8585exec (open ("redshift_connector/version.py" ).read ())
8686
87+ optional_deps = {
88+ "full" : ["numpy" , "pandas" ],
89+ }
90+
8791setup (
8892 name = "redshift_connector" ,
8993 version = __version__ ,
@@ -95,18 +99,8 @@ def get_tag(self):
9599 url = "https://github.com/aws/amazon-redshift-python-driver" ,
96100 license = "Apache License 2.0" ,
97101 python_requires = ">=3.5" ,
98- install_requires = [
99- "scramp>=1.2.0<1.3.0" ,
100- "pytz>=2020.1<2020.2" ,
101- "BeautifulSoup4>=4.7.0<4.8.0" ,
102- "boto3>=1.16.8<1.17.0" ,
103- "requests>=2.23.0<2.24.0" ,
104- "lxml>=4.2.5<4.6.0" ,
105- "botocore>=1.19.8<1.20.0" ,
106- "numpy>=1.15.4<1.20.0" ,
107- "pandas==0.25.3" ,
108- "wheel>=0.33" ,
109- ],
102+ install_requires = open ("requirements.txt" ).read ().strip ().split ("\n " ),
103+ extras_require = optional_deps ,
110104 classifiers = [
111105 "Development Status :: 5 - Production/Stable" ,
112106 "Intended Audience :: Developers" ,
You can’t perform that action at this time.
0 commit comments