-
Notifications
You must be signed in to change notification settings - Fork 8
/
setup.py
48 lines (45 loc) · 1.44 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
# -*- coding: utf-8 -*-
import setuptools
with open("README.md") as f:
long_description = f.read()
with open("requirements.txt") as f:
requirements = []
for line in f.readlines():
line = line.strip()
if line:
requirements.append(line)
setuptools.setup(
name="ydb-sqlalchemy",
version="0.1.5", # AUTOVERSION
description="YDB Dialect for SQLAlchemy",
author="Yandex LLC",
author_email="[email protected]",
url="http://github.com/ydb-platform/ydb-sqlalchemy",
license="Apache 2.0",
package_dir={"": "."},
long_description=long_description,
long_description_content_type="text/markdown",
packages=setuptools.find_packages("."),
classifiers=[
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
],
keywords="SQLAlchemy YDB YQL",
install_requires=requirements, # requirements.txt
options={"bdist_wheel": {"universal": True}},
extras_require={
"yc": [
"yandexcloud",
],
},
entry_points={
"sqlalchemy.dialects": [
"yql.ydb=ydb_sqlalchemy.sqlalchemy:YqlDialect",
"yql.ydb_async=ydb_sqlalchemy.sqlalchemy:AsyncYqlDialect",
"ydb_async=ydb_sqlalchemy.sqlalchemy:AsyncYqlDialect",
"ydb=ydb_sqlalchemy.sqlalchemy:YqlDialect",
"yql=ydb_sqlalchemy.sqlalchemy:YqlDialect",
]
},
)