-
Notifications
You must be signed in to change notification settings - Fork 21
/
setup.py
57 lines (53 loc) · 1.68 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
import setuptools
with open("README.md", "r", encoding="utf-8") as fh:
long_description = fh.read()
# activate __version__ variable
exec(open("thingsvision/_version.py").read())
requirements = [
"ftfy",
"h5py",
"matplotlib",
"numba",
"numpy",
"open_clip_torch==2.24.*",
"pandas",
"regex",
"scikit-image",
"scikit-learn",
"scipy",
"tensorflow==2.9.* ; sys_platform != 'darwin' or platform_machine != 'arm64'",
"tensorflow-macos==2.9.* ; sys_platform == 'darwin' and platform_machine == 'arm64'",
"timm",
"torch>=2.0.0",
"torchvision==0.15.2",
"torchtyping",
"tqdm",
"CLIP",
"transformers==4.40.1"
# 'CLIP @ git+ssh://[email protected]/openai/[email protected]#egg=CLIP' # TODO: see issue #111
]
setuptools.setup(
name="thingsvision",
version=__version__,
author="Lukas Muttenthaler",
author_email="[email protected]",
description="Extracting image features from state-of-the-art neural networks for Computer Vision made easy",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/ViCCo-Group/thingsvision",
packages=setuptools.find_packages(),
license="MIT License",
install_requires=requirements,
keywords="feature extraction",
classifiers=[
"Programming Language :: Python :: 3.8",
"Natural Language :: English",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
],
entry_points={"console_scripts": ["thingsvision = thingsvision.thingsvision:main"]},
python_requires=">=3.8",
dependency_links=[
"git+https://github.com/openai/CLIP.git",
],
)