Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added the 'Optional' extra require in setup.py #1491

Merged
merged 3 commits into from
Aug 2, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,9 @@ jobs:
pip install mmcv-full -f https://download.openmmlab.com/mmcv/dist/cpu/${{matrix.torch_version}}/index.html
python -c 'import mmcv; print(mmcv.__version__)'
- name: Install other dependencies
run: pip install -r requirements.txt
run: |
pip install -r requirements.txt
pip install albumentations>=0.3.2 --no-binary imgaug,albumentations
- name: Build and install
run: rm -rf .eggs && pip install -e .
- name: Run unittests and generate coverage report
Expand Down Expand Up @@ -122,6 +124,7 @@ jobs:
python -V
python -m pip install mmcv-full -f https://download.openmmlab.com/mmcv/dist/cu101/${{matrix.torch_version}}/index.html
python -m pip install -r requirements.txt
python -m pip install albumentations>=0.3.2 --no-binary imgaug,albumentations
python -c 'import mmcv; print(mmcv.__version__)'
- name: Build and install
run: |
Expand Down Expand Up @@ -185,6 +188,7 @@ jobs:
python -V
python -m pip install mmcv-full -f https://download.openmmlab.com/mmcv/dist/cu102/${{matrix.torch_version}}/index.html
python -m pip install -r requirements.txt
python -m pip install albumentations>=0.3.2 --no-binary imgaug,albumentations
python -c 'import mmcv; print(mmcv.__version__)'
- name: Build and install
run: |
Expand Down
1 change: 1 addition & 0 deletions requirements/albu.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
albumentations>=0.3.2 --no-binary qudida,albumentations
1 change: 0 additions & 1 deletion requirements/optional.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
albumentations>=0.3.2 --no-binary qudida,albumentations
onnx
onnxruntime
poseval@git+https://github.com/svenkreiss/poseval.git
Expand Down
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,7 @@ def add_mim_extension():
'tests': parse_requirements('requirements/tests.txt'),
'build': parse_requirements('requirements/build.txt'),
'runtime': parse_requirements('requirements/runtime.txt'),
'optional': parse_requirements('requirements/optional.txt'),
'mim': parse_requirements('requirements/mminstall.txt'),
},
zip_safe=False)