Skip to content

Commit 7de3ecd

Browse files
committed
fix build.
1 parent 57eeaa2 commit 7de3ecd

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

Makefile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,16 +25,16 @@ clean:
2525
rm -rf dist/
2626
rm -rf src/Flask_First.egg-info
2727

28-
build: clean
29-
python3 -m build
28+
build: clean venv
29+
./venv/bin/python3 -m build
3030

3131
install: build
3232
./venv/bin/pip install dist/Flask-First-*.tar.gz
3333

3434
upload_to_testpypi: build
35-
python3 -m twine upload --repository testpypi dist/*
35+
./venv/bin/python3 -m twine upload --repository testpypi dist/*
3636

3737
upload_to_pypi: build
38-
python3 -m twine upload --repository pypi dist/*
38+
./venv/bin/python3 -m twine upload --repository pypi dist/*
3939

4040
all: venv tox build

pyproject.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,8 @@ dev = [
3333
"pytest==7.4.2",
3434
"pytest-cov==4.1.0",
3535
"python-dotenv==1.0.0",
36-
"tox==4.11.3"
36+
"tox==4.11.3",
37+
"twine==4.0.2"
3738
]
3839

3940
[project.urls]

0 commit comments

Comments
 (0)