Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Rémy Mozul
FortHon
Commits
c44bf789
Commit
c44bf789
authored
Apr 03, 2014
by
Rémy Mozul
Browse files
Merge branch 'master' into 'master'
Setup correction setup.py now include numpy headers correctly
parents
844bf463
07abe660
Changes
1
Hide whitespace changes
Inline
Side-by-side
setup.py
View file @
c44bf789
import
os
import
numpy
from
distutils.core
import
setup
from
distutils.extension
import
Extension
from
Cython.Distutils
import
build_ext
setup
(
name
=
'sprint'
,
ext_modules
=
[
Extension
(
'test'
,[
'test.pyx'
],
libraries
=
[
'type'
],
library_dirs
=
[
os
.
getcwd
()])],
ext_modules
=
[
Extension
(
'test'
,[
'test.pyx'
],
libraries
=
[
'type'
],
library_dirs
=
[
os
.
getcwd
()],
include_dirs
=
[
numpy
.
get_include
()])],
cmdclass
=
{
'build_ext'
:
build_ext
}
)
Write
Preview
Supports
Markdown
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