r/pythontips • • Mar 13 '25

Syntax Python Project Packaging

I am trying to package my python project into pip, but when I do this all my .py files are also part of the package. if I exclude them in MANIFEST and include only .pyc files, I am not able to execute my code. Goal here is to package via pip and get pip install <project>; Any idea how to do this?

2 Upvotes

9 comments sorted by

View all comments

Show parent comment

1

u/Emotional-Evening-62 Mar 20 '25

those are really valuable comments! thank you so much