diff --git a/README.md b/README.md index 93051f5..6d6194f 100644 --- a/README.md +++ b/README.md @@ -16,9 +16,11 @@ pip install torch==1.8.1+cu111 torchvision==0.9.1+cu111 torchaudio==0.8.1 -f htt pip install mmcv-full==1.3.5 -f https://download.openmmlab.com/mmcv/dist/cu102/torch1.8.0/index.html +pip install git+https://github.com/open-mmlab/mmdetection.git@v2.13.0 + git clone git@github.com:xiong-jie-y/ozeu.git cd ozeu -pip install -e . +pip install -e . ``` ## Usage diff --git a/setup.py b/setup.py index 404bdae..2f755eb 100644 --- a/setup.py +++ b/setup.py @@ -16,7 +16,7 @@ def _parse_requirements(path): from subprocess import getoutput class PostInstall(install): - pkgs = ' git+https://github.com/open-mmlab/mmdetection.git#v2.13.0' + pkgs = ' git+https://github.com/open-mmlab/mmdetection.git@v2.13.0' def run(self): install.run(self) print(getoutput('pip install'+self.pkgs)) @@ -27,5 +27,8 @@ def run(self): version=__version__, packages=setuptools.find_packages(), install_requires=requirements, - cmdclass={'install': PostInstall} + cmdclass={'install': PostInstall}, + dependency_links=[ + 'https://github.com/open-mmlab/mmdetection.git', + ], )