Skip to content

Use local copy of python distro to include a subdir #5796

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 20, 2019

Conversation

earlephilhower
Copy link
Collaborator

@earlephilhower earlephilhower commented Feb 20, 2019

fix #5792

@mcspr
Copy link
Collaborator

mcspr commented Feb 20, 2019

@earlephilhower i think .zip needs to be repacked again, zfile.namelist()[0] picks file instead of dir name:

$ cat test.py
import sys
import zipfile
zfile = zipfile.ZipFile(sys.argv[1])
print(zfile.namelist()[0])

$ python test.py dist/python-3.7.2.post1-embed-win32.zip
python-3.7.2.post1/_asyncio.pyd

#5635 (comment) being latest mention of this

@earlephilhower earlephilhower deleted the pythonmove branch November 18, 2020 00:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Commit esp8266/Arduino@9790e1c python issue
3 participants