From 7875fb6f1a310ac089206d637a9e987065b89617 Mon Sep 17 00:00:00 2001 From: ziqiang <1694392889@qq.com> Date: Fri, 1 Dec 2023 16:16:46 +0800 Subject: [PATCH] feat: add setup.py file --- apitable.py/setup.py | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 apitable.py/setup.py diff --git a/apitable.py/setup.py b/apitable.py/setup.py new file mode 100644 index 0000000..0aeb053 --- /dev/null +++ b/apitable.py/setup.py @@ -0,0 +1,28 @@ +import setuptools + +with open("README.md", "r") as fh: + long_description = fh.read() + +with open(".version", "r") as fh: + version_number = fh.read() + +setuptools.setup( + name="apitable", + version=version_number, + author="apitable", + author_email="dev@apitable.com", + description="Apitable Python SDK", + long_description=long_description, + long_description_content_type="text/markdown", + url="https://github.com/apitable/apitable-sdks", + packages=[ + "apitable", "apitable.datasheet", "apitable.types", "apitable.node", "apitable.space", "apitable.unit" + ], + classifiers=[ + "Programming Language :: Python :: 3", + "License :: OSI Approved :: MIT License", + "Operating System :: OS Independent", + ], + python_requires=">=3.6", + install_requires=["requests<=2.31.0", "pydantic==1.7", "environs<=9.5.0"], +) \ No newline at end of file