setup.py 720 Bytes
Newer Older
jerrrrry's avatar
jerrrrry committed
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
import re

try:
    from setuptools import setup
except ImportError:
    from distutils.core import setup

with open("index_kits/__init__.py", "r") as file:
    regex_version = r'^__version__\s*=\s*[\'"]([^\'"]*)[\'"]'
    version = re.search(regex_version, file.read(), re.MULTILINE).group(1)


setup(
    name="index_kits",
    version=version,
    author="jarvizhang",
    author_email="jarvizhang@tencent.com",
    description="An index kits for streaming reading arrow data.",
    packages=["index_kits", "index_kits/dataset"],
    scripts=["bin/idk"],
    install_requires=[
        "pillow>=9.3.0",
        "tqdm>=4.60.0",
        "pyarrow>=10.0.1",
        "torch>=1.9",
    ],
    python_requires=">=3.8.12",
)