File tree Expand file tree Collapse file tree 6 files changed +448
-389
lines changed
Expand file tree Collapse file tree 6 files changed +448
-389
lines changed Original file line number Diff line number Diff line change @@ -21,11 +21,11 @@ jobs:
2121 run : |
2222 python -m pip install --upgrade pip
2323 pip install pipenv
24- make sync
24+ pipenv install --dev
2525
2626 - name : Build package
2727 run : |
28- make build
28+ pipenv run python -m build --no-isolation
2929
3030 - name : Publish package
3131 if : startsWith(github.ref, 'refs/tags')
Original file line number Diff line number Diff line change 22.PHONY : help build test
33
44build : # # Build an application
5- @pipenv run python setup.py sdist bdist_wheel
5+ @pipenv run python -m build --no-isolation
66
77publish-test : # # Upload package to test PyPI
88 @pipenv run twine upload --repository testpypi dist/*
@@ -12,10 +12,10 @@ publish: build ## Upload package to PyPI
1212 @make clean
1313
1414install : build # # Install application to Pip environment
15- @pipenv run python setup.py install
15+ @pipenv run python -m pip install
1616
1717install-dev : # # Install application to Pip development environment
18- @pipenv run python setup.py develop
18+ @pipenv run python -m pip install -e
1919 @make clean
2020
2121clean : # # Remove build files
Original file line number Diff line number Diff line change @@ -8,6 +8,7 @@ twine = ">=3.3.0"
88wheel = " >=0.35.1"
99mypy = " >=0.800"
1010pytest = " >=6.2.2"
11+ build = " *"
1112
1213[packages ]
1314prance = " >=0.20.2"
You can’t perform that action at this time.
0 commit comments