-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsibsetup.lspy
executable file
·95 lines (70 loc) · 2.24 KB
/
sibsetup.lspy
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
#! /usr/bin/env python3 -m sibilant
;; This library is free software; you can redistribute it and/or modify
;; it under the terms of the GNU Lesser General Public License as
;; published by the Free Software Foundation; either version 3 of the
;; License, or (at your option) any later version.
;;
;; This library is distributed in the hope that it will be useful, but
;; WITHOUT ANY WARRANTY; without even the implied warranty of
;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
;; Lesser General Public License for more details.
;;
;; You should have received a copy of the GNU Lesser General Public
;; License along with this library; if not, see
;; <http://www.gnu.org/licenses/>.
"
Sibilant, a LISP for Python
:author: Christopher O'Brien <obriencj@gmail.com>
:license: LGPL v.3
"
(def import-from sibilant.site.setuptools setup Extension)
(define setup_data
(values
name: "sibilant"
version: "0.9.0"
packages:
(#list
"sibilant"
"sibilant.compiler"
"sibilant.site")
package_data:
(#dict
("sibilant" (#list "*.lspy"))
("sibilant.site" (#list "*.lspy")))
ext_modules:
(#list
(Extension name: "sibilant._tco"
sources: (#list "sibilant/_tco.c")
extra_compile_args: (#list "--std=c99"))
(Extension name: "sibilant._types"
sources: (#list "sibilant/_types.c")
include_dirs: (#list "include")
extra_compile_args: (#list "--std=c99")))
headers:
(#list
"include/py3-sibilant.h")
test_suite: "tests"
entry_points:
(dict
console_scripts: (#list "sibilant=sibilant.cli:main"))
install_requires:
(#list "appdirs")
python_requires: ">=3.5, <3.7"
description: "LISP dialect for Python"
author: "Christopher O'Brien"
author_email: "obriencj@gmail.com"
url: "https://github.com/obriencj/python-sibilant"
license: "GNU Lesser General Public License"
zip_safe: False
classifiers:
(#list
"Intended Audience :: Developers"
"Programming Language :: Python :: 3 :: Only"
"Programming Language :: Python :: 3.5"
"Programming Language :: Python :: 3.6"
"Programming Language :: Python :: Implementation :: CPython"
"Topic :: Software Development")))
(when-main
(setup_data setup))
;;
;; The end.