mirror of
https://github.com/python/cpython.git
synced 2025-11-25 21:11:09 +00:00
bpo-34977: Add Windows App Store package (GH-11027)
Also adds the PC/layout script for generating layouts on Windows.
This commit is contained in:
parent
1c3de541e6
commit
0cd6391fd8
47 changed files with 2928 additions and 405 deletions
14
PC/layout/__main__.py
Normal file
14
PC/layout/__main__.py
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
import sys
|
||||
|
||||
try:
|
||||
import layout
|
||||
except ImportError:
|
||||
# Failed to import our package, which likely means we were started directly
|
||||
# Add the additional search path needed to locate our module.
|
||||
from pathlib import Path
|
||||
|
||||
sys.path.insert(0, str(Path(__file__).resolve().parent.parent))
|
||||
|
||||
from layout.main import main
|
||||
|
||||
sys.exit(int(main() or 0))
|
||||
Loading…
Add table
Add a link
Reference in a new issue