Commit 0d0f8bf 1 parent 16e5377 commit 0d0f8bf Copy full SHA for 0d0f8bf
File tree 3 files changed +3
-4
lines changed
3 files changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -131,7 +131,7 @@ jobs:
131
131
pipenv install --dev
132
132
133
133
- name : Create the distribution
134
- run : pipenv run python setup.py build sdist
134
+ run : pipenv run python -m build
135
135
136
136
- name : Publish the distribution
137
137
uses : pypa/gh-action-pypi-publish@release/v1
@@ -147,4 +147,3 @@ jobs:
147
147
with :
148
148
tag_name : ${{ github.ref }}
149
149
release_name : Release ${{ github.ref }}
150
-
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ VERSION := $(shell ./setup.py --version)
2
2
3
3
.PHONY : build
4
4
build :
5
- python setup.py build sdist
5
+ python -m build
6
6
7
7
.PHONY : clean
8
8
clean :
@@ -18,4 +18,3 @@ release: build
18
18
$(eval RELEASE_TAG := v$(VERSION ) )
19
19
git tag -sm " Version $( VERSION) " $(RELEASE_TAG )
20
20
git push --tags
21
-
Original file line number Diff line number Diff line change @@ -14,6 +14,7 @@ graphviz = "*"
14
14
coverage = " *"
15
15
ipython = " *"
16
16
setuptools = " *"
17
+ build = " *"
17
18
18
19
[scripts ]
19
20
tests = ' sh -c "PYTHONPATH=$(pwd)/lib python -m unittest -v tests"'
You can’t perform that action at this time.
0 commit comments