Skip to content

Commit 9caf1c1

Browse files
committed
Add publishing instructions
1 parent 1538f24 commit 9caf1c1

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

contributing.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,4 +136,23 @@ You're *strongly* encouraged to write tests that check your added functionality.
136136

137137
When you write a new test anywhere under the `tests` directory, if your PR gets accepted, that test will run in a virtual machine to ensure that future changes don't break your contributions!
138138

139+
#### Publishing to Pip
140+
141+
You'll need the credentials file `~/.pypirc`. Request access from @theengineear and @chriddyp. Then, from inside the repository:
142+
143+
```
144+
(plotly.py) $ git checkout master
145+
(plotly.py) $ git stash
146+
(plotly.py) $ git pull origin master
147+
(plotly.py) $ python setup.py sdist upload # upload to pip
148+
```
149+
150+
After it has uploaded, move to another directly and double+triple check that you are able to upgrade ok:
151+
```
152+
$ pip install plotly --upgrade
153+
```
154+
155+
And ask one of your friends to do it too. Our tests should catch any issues, but you never know.
156+
157+
139158
<3 Team Plotly

0 commit comments

Comments
 (0)