chevah / pythia

Chevah's Python 3 distribution
MIT License
4 stars 2 forks source link

Include Python sources in Windows packages. #41

Open dumol opened 1 year ago

dumol commented 1 year ago
          I am leaving a comment here, but most probably needs to be done in a separate ticket.

For the Windows version, besides the lib/python310.zip we also need to distribute the source code.

Without the source code, the python works, but debugging is hard.

So for Windows, besides the current embeddable version, we need to find a way to also get the source code avaiable inside the build folder

Originally posted by @adiroiban in https://github.com/chevah/pythia/issues/39#issuecomment-1510409527

dumol commented 1 year ago

As detailed in private on Slack today, this is for debugging Python code from stdlib.

It would require everything under lib/python3.x/ without site-packages/ and .pyc files.

adiroiban commented 1 year ago

Not sure how easy it is... I checked the Python download page and it looks like the embedded version comes without source file.

Maybe we can do an install for the normal installer, and just use that version for debugging