'Can you explain me the packaging process for pip?
I have a repo and it is an assistant and i would like to convert the app to an module that can be installed using pip, so can you explain me the process. I have read the docs and understood pretty much everything except the setup.py or setup.cfg part.
I have made an __init__.py file which checks for dependencies and then starts assistant. Here it is:-
import os
os.system("cls")
print("checking if dependencies are installed")
env = "env\python.exe"
os.system(f"{env} -m pip install bs4 datetime pipwin psutil pyautogui pyfiglet pypiwin32 requests speechRecognition wheel Wikipedia wolframalpha")
os.system(f"{env} -m pip uninstall pyttsx")
os.system(f"{env} -m pip install git+https://github.com/jpercent/pyttsx.git")
os.system(f"{env} -m pipwin install pocketsphinx")
os.system(f"{env} -m pipwin install Pyaudio")
#Starting the app
os.system(f"{env} Main.py")
Please help me with the dependencies part.
Thanks
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
