forked from ViCCo-Group/thingsvision
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
56 lines (52 loc) · 1.64 KB
/
setup.py
File metadata and controls
56 lines (52 loc) · 1.64 KB
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
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",
"transformers>=4.40.1",
"CLIP @ git+https://github.com/openai/CLIP.git"
]
setuptools.setup(
name="thingsvision",
version=__version__,
author="Lukas Muttenthaler",
author_email="muttenthaler@cbs.mpg.de",
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",
],
)