summaryrefslogtreecommitdiff
path: root/PC/layout/support/constants.py
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@redhat.com>2018-12-07 12:28:45 +0100
committerGitHub <noreply@github.com>2018-12-07 12:28:45 +0100
commit505427449b4c1ffe2c5ef3393be469d08698798c (patch)
tree4cc5f957ea2cb9d92d40043104ef4ff8ca39cc30 /PC/layout/support/constants.py
parent07731153a5798042378c1e447b584343f7fded6b (diff)
downloadcpython-git-revert-10245-msix.tar.gz
Revert "bpo-34977: Add Windows App Store package (GH-10245)"revert-10245-msix
This reverts commit 468a15aaf9206448a744fc5eab3fc21f51966aad.
Diffstat (limited to 'PC/layout/support/constants.py')
-rw-r--r--PC/layout/support/constants.py28
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 88ea410b34..0000000000
--- 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