Skip to content

Commit cdb5374

Browse files
committed
Add setup.py.
1 parent b626809 commit cdb5374

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

setup.py

+26
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
from setuptools import setup, find_packages
2+
3+
with open("README.md", "r", encoding="utf-8") as readme_file:
4+
readme = readme_file.read()
5+
6+
requirements = [
7+
"numpy",
8+
"scipy",
9+
"matplotlib",
10+
"torch",
11+
"torchvision",
12+
"opencv-python",
13+
"CLIP @ git+https://github.com/openai/CLIP.git"
14+
]
15+
16+
setup(
17+
name='clipseg',
18+
version='0.0.1',
19+
url='https://github.com/timojl/clipseg',
20+
python_requires='>=3.9',
21+
install_requires=requirements,
22+
description='This repository contains the code used in the paper "Image Segmentation Using Text and Image Prompts".',
23+
packages=find_packages(),
24+
long_description=readme,
25+
long_description_content_type="text/markdown",
26+
)

0 commit comments

Comments
 (0)