[issue41913] EnvBuilder.install_scripts should use explicit permissions

2020-10-02 Thread Johan Herland


Change by Johan Herland :


--
nosy: +jherland

___
Python tracker 
<https://bugs.python.org/issue41913>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue37763] Need setup.py to pick up -isystem flags from CPPFLAGS

2019-08-05 Thread Johan Herland


New submission from Johan Herland :

First time contributor here, still learning the ropes.

We're cross-compiling python in an environment where we set up CPPFLAGS, 
LDFLAGS, etc. to point directly to the locations where we have built Python's 
dependencies. For example, we will typically build Python in an environment 
that includes:

  CPPFLAGS=\
-isystem /path/to/ncurses/build/include \
-isystem /path/to/libffi/build/include \
-isystem /path/to/zlib/build/include \
-isystem /path/to/openssl/build/include \
-isystem /path/to/readline/build/include
  
  LDFLAGS=\
-L/path/to/ncurses/build/lib \
-L/path/to/libffi/build/lib \
-L/path/to/zlib/build/lib \
-L/path/to/openssl/build/lib \
-L/path/to/ciscossl-fom/build/lib \
-L/path/to/readline/build/lib

setup.py already picks up our -L options from LDFLAGS and propagates them into 
the build commands, but the -isystem options from CPPFLAGS are currently 
ignored.

I will post a PR that teaches setup.py to handle -isystem options in CPPFLAGS 
the same way it currently handles -I options.

--
components: Cross-Build
messages: 349054
nosy: Alex.Willmer, jherland
priority: normal
severity: normal
status: open
title: Need setup.py to pick up -isystem flags from CPPFLAGS
type: enhancement
versions: Python 3.8, Python 3.9

___
Python tracker 
<https://bugs.python.org/issue37763>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue37763] Need setup.py to pick up -isystem flags from CPPFLAGS

2019-08-05 Thread Johan Herland


Change by Johan Herland :


--
keywords: +patch
pull_requests: +14874
stage:  -> patch review
pull_request: https://github.com/python/cpython/pull/15136

___
Python tracker 
<https://bugs.python.org/issue37763>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com