Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
* Add six package to requirements
* Fixed error while passing date parameter in execute

## 2.12.2 ##
Expand Down
6 changes: 4 additions & 2 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
grpcio==1.39.0
aiohttp==3.7.4
enum-compat>=0.0.1
grpcio>=1.5.0
packaging
protobuf>3.13.0,<5.0.0
pytest==6.2.4
aiohttp==3.7.4
six<2
14 changes: 8 additions & 6 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,13 @@
with open("README.md", "r") as r:
long_description = r.read()

with open("requirements.txt") as r:
requirements = []
for line in r.readlines():
line = line.strip()
if line != "":
requirements.append(line)

setuptools.setup(
name="ydb",
version="2.12.2", # AUTOVERSION
Expand All @@ -23,12 +30,7 @@
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.6",
],
install_requires=(
"protobuf>=3.13.0",
"grpcio>=1.5.0",
"enum-compat>=0.0.1",
"packaging"
),
install_requires=requirements, # requirements.txt
options={"bdist_wheel": {"universal": True}},
extras_require={
"yc": ["yandexcloud", ],
Expand Down