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
07abe660
Commit
07abe660
authored
Apr 03, 2014
by
Mozul Rémy
Browse files
correct setup.py to include numpy headers
parent
844bf463
Changes
1
Hide whitespace changes
Inline
Side-by-side
setup.py
View file @
07abe660
import
os
import
os
import
numpy
from
distutils.core
import
setup
from
distutils.core
import
setup
from
distutils.extension
import
Extension
from
distutils.extension
import
Extension
from
Cython.Distutils
import
build_ext
from
Cython.Distutils
import
build_ext
setup
(
name
=
'sprint'
,
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
}
cmdclass
=
{
'build_ext'
:
build_ext
}
)
)
Write
Preview
Markdown
is supported
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