Add requirements

This commit is contained in:
Andros Fenollosa 2022-11-09 16:54:29 +01:00
parent 0b55113b16
commit b08a0e8bed
3 changed files with 10 additions and 1 deletions

View File

@ -29,7 +29,7 @@ jobs:
- name: Install dependencies - name: Install dependencies
run: | run: |
python3 -m pip install --upgrade pip python3 -m pip install --upgrade pip
pip3 install wheel twine pip3 install -r requirements.txt
- name: Add version - name: Add version
run: sed -i 's/VERSION/${{github.ref_name}}/g' setup.py run: sed -i 's/VERSION/${{github.ref_name}}/g' setup.py
- name: Build package - name: Build package

6
Makefile Normal file
View File

@ -0,0 +1,6 @@
.DEFAULT_GOAL := help
help:
@perl -nle'print $& if m{^[a-zA-Z_-|.]+:.*?## .*$$}' $(MAKEFILE_LIST) | sort | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-25s\033[0m %s\n", $$1, $$2}'
format: ## Format Python
black --exclude="/(dist|build|__pycache__|venv|\.git)/" .

View File

@ -1 +1,4 @@
wheel===0.38.3
twine===4.0.1
black===22.10.0
pytest===7.2.0 pytest===7.2.0