Skip to content
This repository was archived by the owner on May 20, 2022. It is now read-only.

Commit 4f2fd34

Browse files
committed
Makefile: change dist-related tasks
1 parent 6f584fc commit 4f2fd34

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

Makefile

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ SHELL = /usr/bin/env bash
44
.PHONY: help
55
.PHONY: clean clean-build clean-pyc clean-test
66
.PHONY: lint test test-all test-coverage test-coverage-report-console test-coverage-report-html
7-
.PHONY: dist install
7+
.PHONY: dist upload-release
88

99
define PRINT_HELP_PYSCRIPT
1010
import re, sys
@@ -69,7 +69,8 @@ test-coverage-report-html: ## generate test coverage HTML report
6969
dist: clean ## builds source and wheel package
7070
python setup.py sdist
7171
python setup.py bdist_wheel
72+
twine check dist/*
7273
ls -l dist
7374

74-
install: clean ## install the package to the active Python's site-packages
75-
python setup.py install
75+
upload-release: ## upload dist packages
76+
python -m twine upload 'dist/*'

0 commit comments

Comments
 (0)