I created a custom library in python and I published it using jenkins, my problem is that to call my new library I would use `
import lib.my_lib
but I want to change so I use
import my_lib
directly. I want to find a solution where I can change this in my code and from my research I think it should be in the init file but I don't know how to do it.
I tried to initialize the library by using from lib.my_lib import my_lib hoping that would make my_lib recognizable but it didn't work.
This is my project structure:
lib
|__docs
|_my_lib
|___
|_model
|_my_lib.py
|___init__.py
|_tests
|_setup.py
|_requirements.txt
|_jenkinsfile