Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
setuptools
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jérome Perrin
setuptools
Commits
af4e065b
Commit
af4e065b
authored
Apr 20, 2018
by
Paul Ganssle
Committed by
GitHub
Apr 20, 2018
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1332 from tkhyn/patch-1
pep425tags: turn warning into a debug log entry
parents
e17cf0bd
542e5069
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
setuptools/pep425tags.py
setuptools/pep425tags.py
+3
-2
No files found.
setuptools/pep425tags.py
View file @
af4e065b
...
@@ -4,6 +4,7 @@
...
@@ -4,6 +4,7 @@
from
__future__
import
absolute_import
from
__future__
import
absolute_import
import
distutils.util
import
distutils.util
from
distutils
import
log
import
platform
import
platform
import
re
import
re
import
sys
import
sys
...
@@ -69,8 +70,8 @@ def get_flag(var, fallback, expected=True, warn=True):
...
@@ -69,8 +70,8 @@ def get_flag(var, fallback, expected=True, warn=True):
val
=
get_config_var
(
var
)
val
=
get_config_var
(
var
)
if
val
is
None
:
if
val
is
None
:
if
warn
:
if
warn
:
warnings
.
warn
(
"Config variable '{0}
' is unset, Python ABI tag may "
log
.
debug
(
"Config variable '%s
' is unset, Python ABI tag may "
"be incorrect"
.
format
(
var
),
RuntimeWarning
,
2
)
"be incorrect"
,
var
)
return
fallback
()
return
fallback
()
return
val
==
expected
return
val
==
expected
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment