Skip to content

Commit

Permalink
Merge pull request #22927 from felixxm/travis
Browse files Browse the repository at this point in the history
MAINT: Remove distutils usage in travis-test.sh.

[ci skip]
  • Loading branch information
rgommers committed Jan 4, 2023
2 parents f73d53d + b89d44f commit 4614245
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/travis-test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ werrors="$werrors -Werror=implicit-function-declaration"
setup_base()
{
# use default python flags but remove sign-compare
sysflags="$($PYTHON -c "from distutils import sysconfig; \
sysflags="$($PYTHON -c "import sysconfig; \
print (sysconfig.get_config_var('CFLAGS'))")"
export CFLAGS="$sysflags $werrors -Wlogical-op -Wno-sign-compare"

Expand Down

0 comments on commit 4614245

Please sign in to comment.