Skip to content

Commit 0673bf4

Browse files
Merge pull request #78 from CartoDB/1_2_1_release
1.2.1 release
2 parents b792fa7 + 5d13d29 commit 0673bf4

File tree

2 files changed

+26
-0
lines changed

2 files changed

+26
-0
lines changed

CONTRIBUTING.md

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,28 @@
11
## Submitting Contributions
22

33
Contributions are totally welcome. However, contributors must sign a Contributor License Agreement (CLA) before making a submission. [Learn more here.](https://carto.com/contributing)
4+
5+
## Release process
6+
7+
1. You must be maintainer at [carto pypi repo](https://pypi.python.org/pypi/carto/).
8+
2. Prepare a `~/.pypirc` file:
9+
10+
```
11+
[distutils]
12+
index-servers =
13+
pypi
14+
pypitest
15+
16+
[pypi]
17+
username=your_username
18+
password=your_password
19+
20+
[pypitest]
21+
username=your_username
22+
password=your_password
23+
```
24+
25+
3. Upload the package to the test repository: `python setup.py sdist upload -r pypitest`.
26+
4. Install it in a new environment: `pip install --index-url=https://test.pypi.org/simple --extra-index-url=https://pypi.org/simple carto`.
27+
5. Test it.
28+
6. Release it: `python setup.py sdist upload -r pypi`.

carto/auth.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# -*- coding: utf-8 -*-
12
"""
23
Module for authenticated access to CARTO's APIs
34

0 commit comments

Comments
 (0)