Open hello-adam opened 4 years ago
why bootstrapper.py is needed: just for os.path.dirname(__file__)
won't work when directly execute python app.py
.
maybe bootstrapper.py should be removed in wheel pkg.
new version will directly using app:main
in wheel
When I try to install the 1.6 release python wheel with pip, I get the following error:
I was able to get it to work by unpacking the wheel, adding a
run_main
function to bootstrapper.py, and then changing the[gui_scripts]
section of entry_points.txt as follows:For clarity, this is what my bootstrapper.py looks like:
I'm confused about why bootstrapper.py is needed at all (why not just use the
app:main
entrypoint?)Thanks for sharing this program on GitHub - I'm hoping it will help me make a stylesheet for hobbits