-1

In this link i make a py script and an exe file while trying to make a Windows OS python-shout module.

The question now is how can i make a .whl file and publish it to github and pypi.org

The package will only have two files: an exe file, and a .py which will run the exe with Popen and will send and receive data from .exe using stdin and pipe.

sinoroc
  • 18,409
  • 2
  • 39
  • 70
Chris P
  • 2,059
  • 4
  • 34
  • 68
  • You should be able to find everything here: https://packaging.python.org/ -- If you get blocked somewhere specific then ask a question focused on that specific thing that is blocking you. -- This question as it is right now is not a good question for StackOverflow, it is too broad. – sinoroc Mar 06 '23 at 10:34

1 Answers1

0

There are 2 methods to do so

  1. Use twine to upload directly to PyPI
    • Go to PyPI and create an account.
    • Run twine upload dist/* in the terminal/command line.
    • Enter the account credentials you registered for on the actual PyPI.
    • Then, run pip install [package_name] to install your package. -
  2. Use GitHub to upload I have found this article to do using GitHub https://medium.com/@joel.barmettler/how-to-upload-your-python-package-to-pypi-65edc5fe9c56
DaveL17
  • 1,673
  • 7
  • 24
  • 38