-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
42 lines (38 loc) · 1.18 KB
/
Copy pathsetup.py
File metadata and controls
42 lines (38 loc) · 1.18 KB
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
"""Setup script for Lark BITable."""
import re
import setuptools
with open("pybitable/__init__.py") as f:
version = re.findall("__version__.*(\d+\.\d+\.\d+).*", f.read())[0]
with open("README.md", "r") as readme_file:
long_description = readme_file.read()
setuptools.setup(
name="pybitable",
version=version,
author="lloydzhou",
author_email="lloydzhou@qq.com",
url="https://github.com/lloydzhou/pybitable",
description="A Python wrapper around Lark bitable to sql.",
long_description=long_description,
long_description_content_type="text/markdown",
packages=setuptools.find_packages(),
python_requires=">=3.10",
entry_points={
'console_scripts': [
'pybitable = pybitable.console:main',
],
'sqlalchemy.dialects': [
'bitable = pybitable.dialect:BITableDialect',
'bitable.pybitable = pybitable.dialect:BITableDialect',
],
},
extras_require={
'cli': ['docopt', 'pygments', 'prompt_toolkit>=2', 'tabulate'],
'sqlalchemy': ['sqlalchemy'],
},
install_requires=[
"pep249",
"pyparsing",
"mo_sql_parsing",
"ca-lark-sdk"
]
)