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:
21
21
run : |
22
22
python -m pip install --upgrade pip
23
23
pip install pipenv
24
- make sync
24
+ pipenv install --dev
25
25
26
26
- name : Build package
27
27
run : |
28
- make build
28
+ pipenv run python -m build --no-isolation
29
29
30
30
- name : Publish package
31
31
if : startsWith(github.ref, 'refs/tags')
Original file line number Diff line number Diff line change 2
2
.PHONY : help build test
3
3
4
4
build : # # Build an application
5
- @pipenv run python setup.py sdist bdist_wheel
5
+ @pipenv run python -m build --no-isolation
6
6
7
7
publish-test : # # Upload package to test PyPI
8
8
@pipenv run twine upload --repository testpypi dist/*
@@ -12,10 +12,10 @@ publish: build ## Upload package to PyPI
12
12
@make clean
13
13
14
14
install : build # # Install application to Pip environment
15
- @pipenv run python setup.py install
15
+ @pipenv run python -m pip install
16
16
17
17
install-dev : # # Install application to Pip development environment
18
- @pipenv run python setup.py develop
18
+ @pipenv run python -m pip install -e
19
19
@make clean
20
20
21
21
clean : # # Remove build files
Original file line number Diff line number Diff line change @@ -8,6 +8,7 @@ twine = ">=3.3.0"
8
8
wheel = " >=0.35.1"
9
9
mypy = " >=0.800"
10
10
pytest = " >=6.2.2"
11
+ build = " *"
11
12
12
13
[packages ]
13
14
prance = " >=0.20.2"
You can’t perform that action at this time.
0 commit comments