8000 copy over text from release.md in plotly.py · plotly/plotly-geo@65a7863 · GitHub
[go: up one dir, main page]

Skip to content

Commit 65a7863

Browse files
committed
copy over text from release.md in plotly.py
1 parent 6ea56ff commit 65a7863

File tree

1 file changed

+49
-0
lines changed

1 file changed

+49
-0
lines changed

release.md

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
## Release process - `plotly-geo` package
2+
3+
The `plotly-geo` package contains the shape file resources used by plotly.py.
4+
These files are relatively large and change infrequently so it is useful
5+
to release them in a separate package.
6+
7+
### Update version
8+
9+
Update the version of the `plotly-geo` package in
10+
`packages/python/plotly-geo/setup.py`.
11+
12+
This version is not intended to match the version of plotly.py.
13+
14+
### Update CHANGELOG
15+
16+
Add a new entry to the CHANGELOG at `packages/python/plotly-geo/CHANGELOG.md`
17+
and commit the changes.
18+
19+
### Tag Release
20+
21+
Create a new tag for the release
22+
23+
```bash
24+
(plotly_dev) $ git checkout master
25+
(plotly_dev) $ git stash
26+
(plotly_dev) $ git pull origin master
27+
(plotly_dev) $ git tag plotly-geo-vX.Y.Z
28+
(plotly_dev) $ git push origin plotly-geo-vX.Y.Z
29+
```
30+
31+
### Publishing to PYPI
32+
33+
Publish the final version to PyPI
34+
35+
```bash
36+
(plotly_dev) $ cd packages/python/plotly-geo
37+
(plotly_dev) $ python setup.py sdist bdist_wheel
38+
(plotly_dev) $ twine upload dist/plotly-geo-X.Y.Z.tar.gz
39+
(plotly_dev) $ twine upload dist/plotly_geo-X.Y.Z-py3-none-any.whl
40+
```
41+
42+
### Publish to plotly anaconda channel
43+
44+
From `packages/python/plotly-geo`, build the conda package
45+
```bash
46+
(plotly_dev) $ conda build recipe/
47+
```
48+
49+
Then upload to the plotly anaconda channel as described above

0 commit comments

Comments
 (0)
0