I want to create my own module that can be used via the -pip install function in cmd. I already have the code for my module but I cannot upload it for my friends to use in other computer through -pip. Anyone knows how to do this? Thanks
Asked
Active
Viewed 122 times
0
-
3Does this answer your question? [How to write a Python module/package?](https://stackoverflow.com/questions/15746675/how-to-write-a-python-module-package) – James Mchugh Nov 30 '19 at 04:51
1 Answers
0
pip fetches files from PyPi.
You need to package your python project up. Details can be found here.
Packaging a project includes a few crucial steps:
- Folder/File structure
__init__
file- setup.py
- Readme and license
- Creating an archive
- Uploading to PyPi

user1558604
- 947
- 6
- 20