-
Notifications
You must be signed in to change notification settings - Fork 249
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Makefile automatic upload to PyPI now works with twine
- Loading branch information
Showing
2 changed files
with
7 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,12 @@ | ||
# Makefile for creating a new release of the package and uploading it to PyPI | ||
# Before the release it resets the config.json file | ||
|
||
PYTHON = python | ||
|
||
help: | ||
@echo "Use 'make release' to reset config.json and upload the package to PyPi" | ||
@echo "Use 'make upload' to reset config.json and upload the package to PyPi" | ||
|
||
release: | ||
upload: | ||
sentinelhub.config --instance_id "" --aws_access_key_id "" --aws_access_key_id "" --aws_secret_access_key "" --use_s3_l1c_bucket false | ||
python setup.py sdist upload -r pypi | ||
$(PYTHON) setup.py sdist | ||
twine upload dist/* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
pytest>=3.0.0 | ||
pytest-cov | ||
pylint | ||
twine | ||
radon | ||
sphinx | ||
sphinx_rtd_theme | ||
|