How should you structure your module before uploading it to PyPI?

I tried uploading my module to PyPI but when I try to do pip install and import it from my code I just get a blank module, none of my classes are there.

My module is comprised of a single file so I tried to put it in the root directory of my module but it doesn’t work :/

My module is called path-manager (because pathmanager was taken) but the python file is called pathmanager.py because I wanted to import it like that (import pathmanager), can this be the source of the problem?

Add Comment
0 Answer(s)

Your Answer

By posting your answer, you agree to the privacy policy and terms of service.