You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sedona.apache.org by ji...@apache.org on 2023/03/20 02:30:45 UTC
[sedona] branch release-1.4.0 updated: Explain the process to publish python
This is an automated email from the ASF dual-hosted git repository.
jiayu pushed a commit to branch release-1.4.0
in repository https://gitbox.apache.org/repos/asf/sedona.git
The following commit(s) were added to refs/heads/release-1.4.0 by this push:
new bd50e664 Explain the process to publish python
bd50e664 is described below
commit bd50e664a8b964a098feb1f2d171dddb175ea594
Author: Jia Yu <ji...@apache.org>
AuthorDate: Sun Mar 19 19:30:38 2023 -0700
Explain the process to publish python
---
docs/community/publish.md | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/docs/community/publish.md b/docs/community/publish.md
index fb3eae8c..dfdb5404 100644
--- a/docs/community/publish.md
+++ b/docs/community/publish.md
@@ -413,6 +413,8 @@ rm *.asc
You must have the maintainer privilege of `https://pypi.org/project/apache-sedona/` and `https://www.npmjs.com/package/apache-sedona`
+To publish Sedona pythons, you have to use GitHub actions since we release wheels for different platforms. Please use this repo: https://github.com/jiayuasu/sedona-publish-python
+
```bash
#!/bin/bash
@@ -423,7 +425,6 @@ cp -r sedona-{{ sedona_create_release.current_git_tag}}/* apache-sedona-{{ sedon
rm -rf sedona-{{ sedona_create_release.current_git_tag}}
-cd apache-sedona-{{ sedona_create_release.current_version }}-src/python && python3 setup.py sdist bdist_wheel && twine upload dist/* && cd ..
cd zeppelin && npm publish && cd ..
rm -rf apache-sedona-{{ sedona_create_release.current_version }}-src
```