-
Notifications
You must be signed in to change notification settings - Fork 62
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 #78 from CartoDB/1_2_1_release
1.2.1 release
- Loading branch information
Showing
2 changed files
with
26 additions
and
0 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,3 +1,28 @@ | ||
## Submitting Contributions | ||
|
||
Contributions are totally welcome. However, contributors must sign a Contributor License Agreement (CLA) before making a submission. [Learn more here.](https://carto.com/contributing) | ||
|
||
## Release process | ||
|
||
1. You must be maintainer at [carto pypi repo](https://pypi.python.org/pypi/carto/). | ||
2. Prepare a `~/.pypirc` file: | ||
|
||
``` | ||
[distutils] | ||
index-servers = | ||
pypi | ||
pypitest | ||
[pypi] | ||
username=your_username | ||
password=your_password | ||
[pypitest] | ||
username=your_username | ||
password=your_password | ||
``` | ||
|
||
3. Upload the package to the test repository: `python setup.py sdist upload -r pypitest`. | ||
4. Install it in a new environment: `pip install --index-url=https://test.pypi.org/simple --extra-index-url=https://pypi.org/simple carto`. | ||
5. Test it. | ||
6. Release it: `python setup.py sdist upload -r pypi`. |
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,4 @@ | ||
# -*- coding: utf-8 -*- | ||
""" | ||
Module for authenticated access to CARTO's APIs | ||
|