remove pat and updata setupcfg

pull/1/head
zhangshilong 2021-05-17 12:51:48 +08:00
parent 9961fffdff
commit 3a51fd9bb5
2 changed files with 1 additions and 25 deletions

View File

@ -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 .

View File

@ -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