remove pat and updata setupcfg
parent
9961fffdff
commit
3a51fd9bb5
|
@ -1,24 +0,0 @@
|
||||||
name: build_pat
|
|
||||||
|
|
||||||
on: push
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
build_parrots:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
container:
|
|
||||||
image: ghcr.io/sunnyxiaohu/parrots-mmcv:1.2.1
|
|
||||||
credentials:
|
|
||||||
username: sunnyxiaohu
|
|
||||||
password: ${{secrets.CR_PAT}}
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v2
|
|
||||||
- name: Install mmdet dependencies
|
|
||||||
run: |
|
|
||||||
git clone https://github.com/open-mmlab/mmcv.git && cd mmcv
|
|
||||||
MMCV_WITH_OPS=1 python setup.py install
|
|
||||||
cd .. && rm -rf mmcv
|
|
||||||
python -c 'import mmcv; print(mmcv.__version__)'
|
|
||||||
pip install -r requirements.txt
|
|
||||||
- name: Build and install
|
|
||||||
run: rm -rf .eggs && pip install -e .
|
|
|
@ -3,7 +3,7 @@ line_length = 79
|
||||||
multi_line_output = 0
|
multi_line_output = 0
|
||||||
known_standard_library = setuptools
|
known_standard_library = setuptools
|
||||||
known_first_party = mmfewshot
|
known_first_party = mmfewshot
|
||||||
known_third_party = mmcls,mmcv,mmdet,numpy,torch
|
known_third_party = mmcls,mmcv,mmdet,numpy,pytest,torch
|
||||||
no_lines_before = STDLIB,LOCALFOLDER
|
no_lines_before = STDLIB,LOCALFOLDER
|
||||||
default_section = THIRDPARTY
|
default_section = THIRDPARTY
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue