forked from Labelbox/labelbox-python
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
42 lines (39 loc) · 1.3 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
import setuptools
with open('labelbox/__init__.py') as fid:
for line in fid:
if line.startswith('__version__'):
SDK_VERSION = line.strip().split()[-1][1:-1]
break
with open("README.md", "r") as fh:
long_description = fh.read()
setuptools.setup(
name="labelbox",
version=SDK_VERSION,
author="Labelbox",
author_email="engineering@labelbox.com",
description="Labelbox Python API",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://labelbox.com",
packages=setuptools.find_packages(),
install_requires=[
"requests>=2.22.0", "google-api-core>=1.22.1", "pydantic>=1.8,<2.0",
"tqdm", "python-dateutil>=2.8.2,<2.9.0"
],
extras_require={
'data': [
"shapely", "geojson", "numpy", "PILLOW", "opencv-python",
"typeguard", "imagesize", "pyproj", "pygeotile",
"typing-extensions", "packaging"
],
},
classifiers=[
'License :: OSI Approved :: Apache Software License',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
],
python_requires='>=3.7',
keywords=["labelbox"],
)