Skip to content

Commit 5d13d29

Browse files
committed
Release instructions
1 parent e4f2f80 commit 5d13d29

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-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`.

0 commit comments

Comments
 (0)