Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cython
Commits
206e95f2
Commit
206e95f2
authored
Oct 14, 2017
by
Lisandro Dalcin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix embedded test to work with Anaconda Python
parent
83205e55
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
Demos/embed/Makefile
Demos/embed/Makefile
+2
-1
No files found.
Demos/embed/Makefile
View file @
206e95f2
# Makefile for creating our standalone Cython program
PYTHON
:=
python
PYVERSION
:=
$(
shell
$(PYTHON)
-c
"import sys; print(sys.version[:3]
)
"
)
PYPREFIX
:=
$(
shell
$(PYTHON)
-c
"import sys; print(sys.prefix
)
"
)
INCDIR
:=
$(
shell
$(PYTHON)
-c
"from distutils import sysconfig; print(sysconfig.get_python_inc(
))
"
)
PLATINCDIR
:=
$(
shell
$(PYTHON)
-c
"from distutils import sysconfig; print(sysconfig.get_python_inc(plat_specific=True
))
"
)
...
...
@@ -31,5 +32,5 @@ clean:
@
rm
-f
*
~
*
.o
*
.so core core.
*
*
.c embedded test.output
test
:
clean all
LD_LIBRARY_PATH
=
$(LIBDIR1)
:
$$
LD_LIBRARY_PATH ./embedded
>
test.output
PYTHONHOME
=
$(PYPREFIX)
LD_LIBRARY_PATH
=
$(LIBDIR1)
:
$$
LD_LIBRARY_PATH ./embedded
>
test.output
$(PYTHON)
assert_equal.py embedded.output test.output
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