Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
O
OBITools3
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
15
Issues
15
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
OBITools
OBITools3
Commits
46018797
Commit
46018797
authored
Mar 29, 2019
by
Eric Coissac
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
First version compiling the code correctly
parent
52b8008b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
4 deletions
+7
-4
setup.py
setup.py
+7
-4
No files found.
setup.py
View file @
46018797
...
...
@@ -11,6 +11,7 @@ from Cython.Build import cythonize
import
os.path
from
distutils
import
log
from
distutils.extension
import
Extension
from
pip._internal.cli.cmdoptions
import
build_dir
sys
.
path
.
append
(
os
.
path
.
abspath
(
"python"
))
...
...
@@ -65,9 +66,10 @@ subprocess.call(['cmake', install_clibdir_option, 'src'])
subprocess
.
call
([
'make'
,
'-C'
,
'src'
,
'install'
])
cython_ext
=
[
Extension
(
'.'
.
join
([
"obitools3"
,
os
.
path
.
basename
(
os
.
path
.
dirname
(
x
)),
os
.
path
.
splitext
(
os
.
path
.
basename
(
x
))[
0
]]),
cython_ext
=
[
Extension
(
'.'
.
join
([
os
.
path
.
dirname
(
x
)
.
replace
(
"python/"
,
""
),
os
.
path
.
splitext
(
os
.
path
.
basename
(
x
))[
0
]])
.
replace
(
'/'
,
'.'
),
[
x
],
library_dirs
=
[
get_python_lib
()],
include_dirs
=
[
"src"
,
"src/libecoPCR"
,
"src/libjson"
],
...
...
@@ -89,7 +91,8 @@ cython_ext = [Extension('.'.join(["obitools3",
xx
=
cythonize
(
cython_ext
,
language_level
=
3
,
annotate
=
True
)
annotate
=
True
,
build_dir
=
"build"
)
#, include_path=["src","src/libecoPCR","src/libjson"]
...
...
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