Skip to content

Commit

Permalink
remove manual docker build. change to workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
MiXaiLL76 committed Jan 30, 2024
1 parent d071a2e commit 93a19c8
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 127 deletions.
37 changes: 2 additions & 35 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,49 +1,16 @@
all: format docker-sdist docker-3.6 docker-3.7 docker-3.8 docker-3.9 docker-3.10 docker-3.11
all: clean format sdist wheel
ls -lah dist

sdist:
python3 -m build . --sdist

bdist: clean
python3 setup.py bdist_wheel
pip3 install dist/*.whl -U

wheel:
python3 -m build . --wheel

docker-sdist:
bash -e docker/auto_build.sh "cp38-cp38" sdist

docker-3.6:
bash -e docker/auto_build.sh "cp36-cp36m" wheel

docker-3.7:
bash -e docker/auto_build.sh "cp37-cp37m" wheel

docker-3.8:
bash -e docker/auto_build.sh "cp38-cp38" wheel

docker-3.9:
bash -e docker/auto_build.sh "cp39-cp39" wheel

docker-3.10:
bash -e docker/auto_build.sh "cp310-cp310" wheel

docker-3.11:
bash -e docker/auto_build.sh "cp311-cp311" wheel

pull:
twine check dist/*
twine upload --repository testpypi dist/*

pull-prod:
twine check dist/*
twine upload dist/*

format:
python3 -m black --config pyproject.toml .
python3 -m isort .
flake8
python3 -m flake8

clean:
rm -rf build
Expand Down
19 changes: 0 additions & 19 deletions clean.sh

This file was deleted.

27 changes: 0 additions & 27 deletions docker/Dockerfile

This file was deleted.

22 changes: 0 additions & 22 deletions docker/auto_build.sh

This file was deleted.

24 changes: 0 additions & 24 deletions docker/build_pipeline.sh

This file was deleted.

0 comments on commit 93a19c8

Please sign in to comment.