Skip to content

Commit b2e631a

Browse files
authored
Merge pull request #1 from plotly/updates-for-new-repo
Updates for new repo
2 parents 6ea56ff + 0067abc commit b2e631a

File tree

4 files changed

+58
-3
lines changed

4 files changed

+58
-3
lines changed

LICENSE.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
The MIT License (MIT)
22

3-
Copyright (c) 2016-2019 Plotly, Inc
3+
Copyright (c) 2016-2025 Plotly, Inc
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,3 @@
1-
Package containing the geo shape files used by plotly.py
1+
Package containing the geo shape files used by plotly.py
2+
3+
_Note: plotly-geo was previously housed in the [Plotly.py](https://github.com/plotly/plotly.py) repository [until early 2025](https://github.com/plotly/plotly.py/pull/4972). This repository retains the Git history for all plotly-geo files, dating back to [mid-2019](https://github.com/plotly/plotly.py/pull/1604) when the Plotly.py directory structure was changed. If you want to follow the history of these files back further in time, start [here](https://github.com/plotly/plotly.py/commits/59e36cf850bdb2384ddaf40ac37ad79f691c610c/plotly-geo-package/README.md?browsing_rename_history=true&new_path=packages/python/plotly-geo/README.md&original_branch=master)._

release.md

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
## Release process for `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+
`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 `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 main
25+
(plotly_dev) $ git stash
26+
(plotly_dev) $ git pull origin main
27+
(plotly_dev) $ git tag vX.Y.Z
28+
(plotly_dev) $ git push origin vX.Y.Z
29+
```
30+
31+
### Publishing to PYPI
32+
33+
Publish the final version to PyPI:
34+
35+
```bash
36+
(plotly_dev) $ python setup.py sdist bdist_wheel
37+
(plotly_dev) $ twine upload dist/plotly_geo-X.Y.Z.tar.gz
38+
(plotly_dev) $ twine upload dist/plotly_geo-X.Y.Z-py3-none-any.whl
39+
```
40+
41+
### Publish to plotly anaconda channel
42+
43+
From the repository's root directory, build the conda package:
44+
```bash
45+
(plotly_dev) $ conda build recipe/
46+
```
47+
48+
Then upload to the plotly anaconda channel as described above

setup.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ def readme():
1616
maintainer="Jon Mease",
1717
maintainer_email="jon@plot.ly",
1818
url="https://plot.ly/python/",
19-
project_urls={"Github": "https://github.com/plotly/plotly.py"},
19+
project_urls={"Github": "https://github.com/plotly/plotly-geo"},
2020
description="geo shape files for use with plotly.py",
2121
long_description=readme(),
2222
long_description_content_type="text/markdown",
@@ -28,6 +28,11 @@ def readme():
2828
"Programming Language :: Python :: 3.5",
2929
"Programming Language :: Python :: 3.6",
3030
"Programming Language :: Python :: 3.7",
31+
"Programming Language :: Python :: 3.8",
32+
"Programming Language :: Python :: 3.9",
33+
"Programming Language :: Python :: 3.10",
34+
"Programming Language :: Python :: 3.11",
35+
"Programming Language :: Python :: 3.12",
3136
"Topic :: Scientific/Engineering :: Visualization",
3237
],
3338
license="MIT",

0 commit comments

Comments
 (0)