Skip to content

Commit 288ddf4

Browse files
committed
update setup.py
1 parent e9e2fa2 commit 288ddf4

File tree

2 files changed

+3
-6
lines changed

2 files changed

+3
-6
lines changed

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -55,15 +55,15 @@ octave:1> gbvs_install.m
5555
### Install via PyPI
5656
```
5757
pip install colortransferlib
58-
pip install colortransferlib[detectron2]
58+
pip install git+https://github.com/facebookresearch/detectron2.git@main
5959
```
6060

6161
### Install from source
6262
```
6363
pip install -r requirements/requirements.txt
6464
python setup.py bdist_wheel
6565
pip install ../ColorTransferLib/dist/ColorTransferLib-2.0.3-py3-none-any.whl
66-
pip install ../ColorTransferLib/dist/ColorTransferLib-2.0.3-py3-none-any.whl[detectron2]
66+
pip install git+https://github.com/facebookresearch/detectron2.git@main
6767
```
6868

6969
## Usage

setup.py

+1-4
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,7 @@
3131
python_requires='>=3.10,<3.11',
3232
long_description=long_description,
3333
long_description_content_type='text/markdown',
34-
install_requires= requirements,
35-
extras_require={
36-
'detectron2': ['detectron2 @ git+https://github.com/facebookresearch/detectron2.git@main']
37-
}
34+
install_requires= requirements
3835
)
3936

4037
# run seperately: "pip install opencv-python==4.9.0.80 --no-binary opencv-python"

0 commit comments

Comments
 (0)