forked from milvus-io/pymilvus
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
32 lines (27 loc) · 973 Bytes
/
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
import pathlib
import setuptools
import io
import re
HERE = pathlib.Path(__file__).parent
README = (HERE / 'README.md').read_text()
with io.open("milvus/client/__init__.py", "rt", encoding="utf8") as f:
version = re.search(r'__version__ = "(.*?)"', f.read()).group(1)
setuptools.setup(
name="pymilvus",
version=version,
description="Python Sdk for Milvus",
long_description=README,
long_description_content_type='text/markdown',
url='https://github.com/milvus-io/pymilvus',
license="Apache-2.0",
packages=setuptools.find_packages(),
include_package_data=True,
install_requires=["grpcio>=1.22.0", "grpcio-tools>=1.22.0", "requests>=2.22.0", "ujson>=1.35", "numpy>=1.16.3"],
classifiers=[
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
],
python_requires='>=3.5'
)