Add requirements
This commit is contained in:
parent
0b55113b16
commit
b08a0e8bed
2
.github/workflows/python-publish.yml
vendored
2
.github/workflows/python-publish.yml
vendored
@ -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
6
Makefile
Normal 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)/" .
|
@ -1 +1,4 @@
|
|||||||
|
wheel===0.38.3
|
||||||
|
twine===4.0.1
|
||||||
|
black===22.10.0
|
||||||
pytest===7.2.0
|
pytest===7.2.0
|
||||||
|
Loading…
x
Reference in New Issue
Block a user