Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
pyopencl
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
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Timothy Smith
pyopencl
Commits
05c60f53
Commit
05c60f53
authored
6 years ago
by
Andreas Klöckner
Browse files
Options
Downloads
Patches
Plain Diff
Update pybind aksetup for Py2 compat
parent
e9b66cd3
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
aksetup_helper.py
+3
-3
3 additions, 3 deletions
aksetup_helper.py
with
3 additions
and
3 deletions
aksetup_helper.py
+
3
−
3
View file @
05c60f53
...
...
@@ -92,7 +92,7 @@ class NumpyBuildExtCommand(BaseBuildExtCommand):
if
numpy_incpath
not
in
extension
.
include_dirs
:
extension
.
include_dirs
.
append
(
numpy_incpath
)
super
(
Numpy
BuildExtCommand
,
self
)
.
build_extension
(
extension
)
Base
BuildExtCommand
.
build_extension
(
self
,
extension
)
# {{{ tools
...
...
@@ -878,7 +878,7 @@ def check_pybind11():
count_down_delay
(
delay
=
10
)
# {{{ boilerplate from https://github.com/pybind/python_example/blob/2ed5a68759cd6ff5d2e5992a91f08616ef457b5c/setup.py # noqa
# {{{
(modified)
boilerplate from https://github.com/pybind/python_example/blob/2ed5a68759cd6ff5d2e5992a91f08616ef457b5c/setup.py # noqa
class
get_pybind_include
(
object
):
# noqa: N801
"""
Helper class to determine the pybind11 include path
...
...
@@ -949,7 +949,7 @@ class PybindBuildExtCommand(NumpyBuildExtCommand):
for
ext
in
self
.
extensions
:
ext
.
extra_compile_args
=
ext
.
extra_compile_args
+
opts
super
(
Pybind
BuildExtCommand
,
self
)
.
build_extensions
()
Numpy
BuildExtCommand
.
build_extensions
(
self
)
# }}}
...
...
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
register
or
sign in
to comment