-
Notifications
You must be signed in to change notification settings - Fork 33
/
py4cl.asd
39 lines (36 loc) · 1.27 KB
/
py4cl.asd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
;;;; py4cl.asd
(asdf:defsystem "py4cl"
:serial t
:description "Call Python libraries from Common Lisp"
:author "Ben Dudson <[email protected]>"
:license "MIT"
:depends-on ("trivial-garbage" "uiop" "cl-json" "numpy-file-format")
:pathname #P"src/"
:serial t
:components ((:file "package")
(:file "config")
(:file "reader")
(:file "writer")
(:file "python-process")
(:file "lisp-classes")
(:file "callpython")
(:file "import-export")
(:file "do-after-load"))
:in-order-to ((test-op (test-op "py4cl/tests"))))
;; This is to store the path to the source code
;; suggested here https://xach.livejournal.com/294639.html
(defpackage #:py4cl/config (:export #:*base-directory*))
(defparameter py4cl/config:*base-directory*
(asdf:system-source-directory "py4cl"))
(asdf:defsystem "py4cl/tests"
:serial t
:description "Unit tests for the py4cl library."
:author "Ben Dudson <[email protected]>"
:license "MIT"
:depends-on ("py4cl"
"clunit"
"trivial-garbage"
"bordeaux-threads")
:pathname #P"tests/"
:components ((:file "tests"))
:perform (test-op (o c) (symbol-call :py4cl/tests :run)))