You need:
-
a directory with the name
name_of_my_package -
a setup.py file filled as in this example, it is important that
namematches the name of your packagename_of_my_package:name='name_of_my_package' -
__init__.pyfiles to be able to import your functions
Now you should be able to run:
pip install -e .
and then to import your functions:
from name_of_my_package.my_functions import my_function