@@ -20,8 +20,8 @@ MACOS_NAME = "osx"
2020LINUX_NAME = "linux"
2121WINDOWS_NAME = "windows"
2222
23- FREETHREADED = "freethreaded"
24- MUSL = "musl"
23+ FREETHREADED = "- freethreaded"
24+ MUSL = "- musl"
2525INSTALL_ONLY = "install_only"
2626
2727DEFAULT_RELEASE_BASE_URL = "https://github.com/astral-sh/python-build-standalone/releases/download"
@@ -847,7 +847,7 @@ def _generate_platforms():
847847 for p , v in platforms .items ()
848848 for suffix , freethreadedness in {
849849 "" : is_freethreaded_no ,
850- "-" + FREETHREADED : is_freethreaded_yes ,
850+ FREETHREADED : is_freethreaded_yes ,
851851 }.items ()
852852 }
853853
@@ -881,11 +881,11 @@ def get_release_info(platform, python_version, base_url = DEFAULT_RELEASE_BASE_U
881881 release_filename = None
882882 rendered_urls = []
883883 for u in url :
884- p , _ , _ = platform .partition ("-" + FREETHREADED )
884+ p , _ , _ = platform .partition (FREETHREADED )
885885
886- if FREETHREADED in platform :
886+ if FREETHREADED . lstrip ( "-" ) in platform :
887887 build = "{}+{}-full" .format (
888- FREETHREADED ,
888+ FREETHREADED . lstrip ( "-" ) ,
889889 {
890890 "aarch64-apple-darwin" : "pgo+lto" ,
891891 "aarch64-unknown-linux-gnu" : "lto" ,
0 commit comments