-
Notifications
You must be signed in to change notification settings - Fork 112
/
Copy pathsetup.py
30 lines (27 loc) · 787 Bytes
/
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
from setuptools import setup
with open("README.md", "r", encoding="utf-8") as readme_file:
readme = readme_file.read()
requirements = [
"numpy",
"scipy",
"matplotlib",
"torch",
"torchvision",
"opencv-python",
"CLIP @ git+https://github.com/openai/CLIP.git"
]
setup(
name='clipseg',
packages=['clipseg'],
package_dir={'clipseg': 'models'},
package_data={'clipseg': [
"../weights/*.pth",
]},
version='0.0.1',
url='https://github.com/timojl/clipseg',
python_requires='>=3.9',
install_requires=requirements,
description='This repository contains the code used in the paper "Image Segmentation Using Text and Image Prompts".',
long_description=readme,
long_description_content_type="text/markdown",
)