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
fd131f4a
Commit
fd131f4a
authored
10 years ago
by
timothy rudge
Browse files
Options
Downloads
Patches
Plain Diff
Work around in setup.py for use of numpy during build, also added to install_requires
parent
fa3a0a25
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
setup.py
+10
-0
10 additions, 0 deletions
setup.py
with
10 additions
and
0 deletions
setup.py
+
10
−
0
View file @
fd131f4a
#!/usr/bin/env python
# -*- coding: latin-1 -*-
from
setuptools.command.build_ext
import
build_ext
as
_build_ext
class
build_ext
(
_build_ext
):
def
finalize_options
(
self
):
_build_ext
.
finalize_options
(
self
)
# Prevent numpy from thinking it is still in its setup process:
__builtins__
.
__NUMPY_SETUP__
=
False
import
numpy
self
.
include_dirs
.
append
(
numpy
.
get_include
())
def
get_config_schema
():
...
...
@@ -205,6 +214,7 @@ def main():
],
install_requires
=
[
"
numpy
"
,
"
pytools>=2014.2
"
,
"
pytest>=2
"
,
"
decorator>=3.2.0
"
,
...
...
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