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
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
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
Andreas Klöckner
pyopencl
Commits
cf4a2a6d
Commit
cf4a2a6d
authored
14 years ago
by
Andreas Klöckner
Browse files
Options
Downloads
Patches
Plain Diff
Add aksetup fixes from PyUblas port.
parent
0df882e2
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
aksetup_helper.py
+7
-2
7 additions, 2 deletions
aksetup_helper.py
with
7 additions
and
2 deletions
aksetup_helper.py
+
7
−
2
View file @
cf4a2a6d
...
...
@@ -64,9 +64,14 @@ class NumpyExtension(Extension):
from
os.path
import
join
return
join
(
pathname
,
"
core
"
,
"
include
"
)
@property
def
include_dirs
(
self
):
def
get_include_dirs
(
self
):
return
self
.
_include_dirs
+
[
self
.
get_numpy_incpath
()]
def
set_include_dirs
(
self
,
value
):
self
.
_include_dirs
=
value
def
del_include_dirs
(
self
):
pass
include_dirs
=
property
(
get_include_dirs
,
set_include_dirs
,
del_include_dirs
)
...
...
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