diff options
author | Victor Stinner <vstinner@redhat.com> | 2018-12-07 13:31:40 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-12-07 13:31:40 (GMT) |
commit | 783b794a5e6ea3bbbaba45a18b9e03ac322b3bd4 (patch) | |
tree | 06a129f9225ba46ca2f69cef78b4938184c9d7d3 /PC/layout/support/constants.py | |
parent | 0d5730e6437b157f4aeaf5d2e67abca23448c29a (diff) | |
download | cpython-783b794a5e6ea3bbbaba45a18b9e03ac322b3bd4.zip cpython-783b794a5e6ea3bbbaba45a18b9e03ac322b3bd4.tar.gz cpython-783b794a5e6ea3bbbaba45a18b9e03ac322b3bd4.tar.bz2 |
Revert "[3.7] bpo-34977: Add Windows App Store package (GH-10245)" (GH-11021)
This reverts commit 253209149389e6793a052034e1f2d97691086f18.
Diffstat (limited to 'PC/layout/support/constants.py')
-rw-r--r-- | PC/layout/support/constants.py | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/PC/layout/support/constants.py b/PC/layout/support/constants.py deleted file mode 100644 index 88ea410..0000000 --- a/PC/layout/support/constants.py +++ /dev/null @@ -1,28 +0,0 @@ -""" -Constants for generating the layout. -""" - -__author__ = "Steve Dower <steve.dower@python.org>" -__version__ = "3.8" - -import struct -import sys - -VER_MAJOR, VER_MINOR, VER_MICRO, VER_FIELD4 = struct.pack(">i", sys.hexversion) -VER_FIELD3 = VER_MICRO << 8 | VER_FIELD4 -VER_NAME = {"alpha": "a", "beta": "b", "rc": "rc"}.get( - sys.version_info.releaselevel, "" -) -VER_SERIAL = sys.version_info.serial if VER_NAME else "" -VER_DOT = "{}.{}".format(VER_MAJOR, VER_MINOR) - -PYTHON_DLL_NAME = "python{}{}.dll".format(VER_MAJOR, VER_MINOR) -PYTHON_STABLE_DLL_NAME = "python{}.dll".format(VER_MAJOR) -PYTHON_ZIP_NAME = "python{}{}.zip".format(VER_MAJOR, VER_MINOR) -PYTHON_PTH_NAME = "python{}{}._pth".format(VER_MAJOR, VER_MINOR) - -PYTHON_CHM_NAME = "python{}{}{}{}{}.chm".format( - VER_MAJOR, VER_MINOR, VER_MICRO, VER_NAME, VER_SERIAL -) - -IS_X64 = sys.maxsize > 2 ** 32 |