Author Battant
Recipients Battant
Date 2021-06-06.19:40:31
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1623008431.46.0.342907692424.issue44323@roundup.psfhosted.org>
In-reply-to
Content
Hello

Configuration :
windows 10
python install p: python3.9 from microsoft store

step to reproduce :
on windows, install visual studio and buid tools
clone cpython repository main branch

https://github.com/python/cpython

compile python with command

pCbuil/bauld.bat

run command : 
.\PCbuild\amd64\py.exe .\setup.py install
Actuel result :
cpython\setup.py", line 131, in set_compiler_flags
    sysconfig.get_config_vars()[compiler_flags] = flags + ' ' + py_flags_nodist
TypeError: unsupported operand type(s) for +: 'NoneType' and 'str'
Detail :
cpython\setup.py", line : 128
compile flag  : CFLAGS py_flags_nodist = None
compiler_flags  : CFLAGS
sysconfig  : PY_CFLAGS_NODIST
Question :
why compile flag  : CFLAGS py_flags_nodist = None )

Coud you help me to fix this issuus ?


Best regards

Battant
History
Date User Action Args
2021-06-06 19:40:31Battantsetrecipients: + Battant
2021-06-06 19:40:31Battantsetmessageid: <1623008431.46.0.342907692424.issue44323@roundup.psfhosted.org>
2021-06-06 19:40:31Battantlinkissue44323 messages
2021-06-06 19:40:31Battantcreate