Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
9976a34454 | ||
|
|
424a09457b | ||
|
|
52f77e74a8 |
9
.github/workflows/publish-pip.yml
vendored
9
.github/workflows/publish-pip.yml
vendored
@@ -18,12 +18,15 @@ jobs:
|
||||
- name: Install PyTorch (cpu)
|
||||
run: pip install torch==1.7.0+cpu torchvision==0.8.1+cpu -f https://download.pytorch.org/whl/torch_stable.html
|
||||
- name: Install dependencies
|
||||
run: pip install -r requirements.txt
|
||||
run: |
|
||||
pip install basicsr
|
||||
pip install facexlib
|
||||
pip install gfpgan
|
||||
pip install -r requirements.txt
|
||||
- name: Build and install
|
||||
run: rm -rf .eggs && pip install -e .
|
||||
- name: Build for distribution
|
||||
# remove bdist_wheel for pip installation with compiling cuda extensions
|
||||
run: python setup.py sdist
|
||||
run: python setup.py sdist bdist_wheel
|
||||
- name: Publish distribution to PyPI
|
||||
uses: pypa/gh-action-pypi-publish@master
|
||||
with:
|
||||
|
||||
Reference in New Issue
Block a user