-
Notifications
You must be signed in to change notification settings - Fork 8
/
setup.py
48 lines (40 loc) · 1.42 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
# package setup
import os
from setuptools import setup, find_packages
ROOT = os.path.dirname(os.path.abspath(__file__))
# Read in the package version per recommendations from:
# https://packaging.python.org/guides/single-sourcing-package-version/
about_path = os.path.join(ROOT, "videodb", "__about__.py")
about = {}
with open(about_path) as fp:
exec(fp.read(), about)
# read the contents of README file
long_description = open(os.path.join(ROOT, "README.md"), "r", encoding="utf-8").read()
setup(
name=about["__title__"],
version=about["__version__"],
author=about["__author__"],
author_email=about["__email__"],
license=about["__license__"],
description="VideoDB Python SDK",
long_description=long_description,
long_description_content_type="text/markdown",
url=about["__url__"],
packages=find_packages(exclude=["tests", "tests.*"]),
python_requires=">=3.8",
install_requires=[
"requests>=2.25.1",
"backoff>=2.2.1",
"tqdm>=4.66.1",
],
classifiers=[
"Intended Audience :: Developers",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"License :: OSI Approved :: Apache Software License",
],
)