Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
BlenderPhi
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
raas
BlenderPhi
Commits
c04631f0
Commit
c04631f0
authored
Dec 28, 2012
by
Campbell Barton
Browse files
Options
Downloads
Patches
Plain Diff
patch [#33669] SConstruct: Tell how to pass BF_PYTHON_INC to SCons is it is not found
from anatoly techtonik (techtonik)
parent
5e4bc5a4
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
SConstruct
+5
-4
5 additions, 4 deletions
SConstruct
with
5 additions
and
4 deletions
SConstruct
+
5
−
4
View file @
c04631f0
...
...
@@ -442,11 +442,12 @@ if env['WITH_BF_PYTHON']:
found_pyconfig_h
=
True
if
not
(
found_python_h
and
found_pyconfig_h
):
print
(
"
\n
Missing: Python.h and/or pyconfig.h in
\"
"
+
env
.
subst
(
'
${BF_PYTHON_INC}
'
)
+
"
\"
,
\n
"
"
Set
'
BF_PYTHON_INC
'
to point
"
"
to valid python include path(s).
\n
Containing
"
"
Python.h and pyconfig.h for python version
\"
"
+
env
.
subst
(
'
${BF_PYTHON_VERSION}
'
)
+
"
\"
"
)
print
(
"""
\n
Missing: Python.h and/or pyconfig.h in
"
%s
"
Set
'
BF_PYTHON_INC
'
to point to valid include path(s),
containing Python.h and pyconfig.h for Python version
"
%s
"
.
Example: python scons/scons.py BF_PYTHON_INC=../Python/include
"""
%
(
env
.
subst
(
'
${BF_PYTHON_INC}
'
),
env
.
subst
(
'
${BF_PYTHON_VERSION}
'
)))
Exit
()
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
sign in
to comment