-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #94 from mapbox/bill/appveyor
Fix publishing process
- Loading branch information
Showing
6 changed files
with
35 additions
and
33 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
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 |
---|---|---|
@@ -0,0 +1,20 @@ | ||
## Publish to pypi | ||
|
||
Following the [general guidelines for publishing](https://packaging.python.org/en/latest/guides/distributing-packages-using-setuptools/), and using Mapbox pypi account credentials, we can make new versions of `rio-color` available on pypi. This approach replaces our previous use of TravisCI and Appveyor, both now deprecated with our organization. | ||
|
||
### Build packages | ||
|
||
``` | ||
python3 -m pip install build twine | ||
python3 -m build --sdist | ||
python3 -m build --wheel | ||
``` | ||
|
||
### Upload packages | ||
Once you've configured `.pypirc` [with the project token](https://pypi.org/help/#apitoken), you can upload the packages to pypi. | ||
|
||
``` | ||
twine upload dist/* --repository rio-color | ||
``` | ||
|
||
And confirm the upload at [the project page](https://pypi.org/project/rio-color/#history). |
This file was deleted.
Oops, something went wrong.
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,3 +1,3 @@ | ||
"""rio-color""" | ||
|
||
__version__ = "2.0.0" | ||
__version__ = "2.0.1" |
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 |
---|---|---|
@@ -0,0 +1,4 @@ | ||
[metadata] | ||
# This includes the license file(s) in the wheel. | ||
# https://wheel.readthedocs.io/en/stable/user_guide.html#including-license-files-in-the-generated-wheel-file | ||
license_files = LICENSE |
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