File tree Expand file tree Collapse file tree 1 file changed +49
-0
lines changed Expand file tree Collapse file tree 1 file changed +49
-0
lines changed Original file line number Diff line number Diff line change
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
You can’t perform that action at this time.
0 commit comments