I have defined a few classes in a Python file. I know I can import it into a given script so long as that file is in the same directory as my script; however, I would like to be able to install that file as a package so I can import it without having to place it in the current directory everytime I want to use it.
Essentially, is there a way to pip install a package you've written yourself so it can be imported in a Python script without existing in the same directory as the script?
Any help or advice in this arena would be greatly appreciated Thanks!