-
Notifications
You must be signed in to change notification settings - Fork 3
/
setup.py
66 lines (56 loc) · 1.96 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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
#!/usr/bin/env python
"""
Installs `fiftyone-brain`.
| Copyright 2017-2024, Voxel51, Inc.
| `voxel51.com <https://voxel51.com/>`_
|
"""
import os
from setuptools import setup
VERSION = "0.18.0"
def get_version():
if "RELEASE_VERSION" in os.environ:
version = os.environ["RELEASE_VERSION"]
if not version.startswith(VERSION):
raise ValueError(
"Release version doest not match version: %s and %s"
% (version, VERSION)
)
return version
return VERSION
with open("README.md", "r") as fh:
long_description = fh.read()
setup(
name="fiftyone-brain",
version=get_version(),
description="FiftyOne Brain",
author="Voxel51, Inc.",
author_email="info@voxel51.com",
url="https://github.com/voxel51/fiftyone-brain",
license="Apache",
long_description=long_description,
long_description_content_type="text/markdown",
packages=["fiftyone.brain"],
include_package_data=True,
install_requires=["numpy", "scipy>=1.2.0", "scikit-learn"],
classifiers=[
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: Apache Software License",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
"Topic :: Scientific/Engineering :: Image Processing",
"Topic :: Scientific/Engineering :: Image Recognition",
"Topic :: Scientific/Engineering :: Information Analysis",
"Topic :: Scientific/Engineering :: Visualization",
"Operating System :: MacOS :: MacOS X",
"Operating System :: POSIX :: Linux",
"Operating System :: Microsoft :: Windows",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
],
scripts=[],
python_requires=">=3.9",
)