Mercurial > cpython-lru_cache-weakref
annotate Demo/embed/README @ 5817:48b94de85bf3 legacy-trunk
Extensive changes by AMK.
| author | Guido van Rossum <guido@python.org> |
|---|---|
| date | Thu, 17 Jul 1997 16:29:42 +0000 |
| parents | 35233640479b |
| children | edd19217b396 |
| rev | line source |
|---|---|
|
2601
35233640479b
adapted to new naming; clarify comments somewhat
Guido van Rossum <guido@python.org>
parents:
1964
diff
changeset
|
1 This directory show how to embed the Python interpreter in your own |
|
35233640479b
adapted to new naming; clarify comments somewhat
Guido van Rossum <guido@python.org>
parents:
1964
diff
changeset
|
2 application. The file demo.c shows you all that is needed in your C |
|
35233640479b
adapted to new naming; clarify comments somewhat
Guido van Rossum <guido@python.org>
parents:
1964
diff
changeset
|
3 code. |
| 1964 | 4 |
| 5 To build it, you may have to edit the Makefile: | |
| 6 | |
| 7 1) set blddir to the directory where you built Python, if it isn't in | |
| 8 the source directory (../..) | |
| 9 | |
| 10 2) change the variables that together define the list of libraries | |
| 11 (MODLIBS, LIBS, SYSLIBS) to link with, to match their definitions in | |
| 12 $(blddir)/Modules/Makefile |
