bull500 commented on PR #2933:
URL: https://github.com/apache/thrift/pull/2933#issuecomment-1987349708

   Hello @Jens-G 
   
   I'm adding inputs here based on our discussion over the mailing list - 
[https://lists.apache.org/thread/xlxj2q1ln0ffx34jc0of83473ssof215](https://lists.apache.org/thread/xlxj2q1ln0ffx34jc0of83473ssof215)
   Hoping its the right place! Apologies in advance if its not!
   
   I'm attaching the bash script here: 
   
[thrift_packaging_script.zip](https://github.com/apache/thrift/files/14551586/thrift_packaging_script.zip)
   I hope the code is easy to understand and follow.
   
   **_Please note there are a few instructions that appear on the screen which 
need to be adhered to while running the script._**
   The script needs to be in your home dir - eg - /home/username/
   You'll need to create a python venv environment, activate the same and 
installing twine.
   The instruction shall be shown on the screen.
   **_Only post this the script should be run in its entirety._**
   
   The script will follow a step by step execution method asking the user based 
on a (Y/N) input.
   It shall ask the python environment path - Example - 
/home/username/thrift_packaging/
   It shall ask for the download file path of thrift project - Example - 
[https://github.com/apache/thrift/archive/refs/tags/v0.19.0.tar.gz](https://github.com/apache/thrift/archive/refs/tags/v0.19.0.tar.gz)
   The script shall auto activate the environment, download the provided 
package, create the PyPI build, do a test upload to TestPyPI and finally upload 
to PyPI if all things go well.
   
   I'm also attaching all the pre-built python src packages that can be 
uploaded to PyPI as well here:
   
[thrift-prebuilt.zip](https://github.com/apache/thrift/files/14551634/thrift-prebuilt.zip)
   These were generated using the same script
   
   I'm truly hoping this is helps the Apache Thrift Project get the python 
based package out onto pypi.
   If there's any other thing I could assist with please let me know.
   
   :v: :peace_symbol: 
   
   
   
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscr...@thrift.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to