repo.or.cz
/
pyyaml
/
python3.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Add pyrex-based bindings for the libyaml scanner.
[pyyaml/python3.git]
/
setup_ext.py
blob
76a4fbbe16fdf7bc83fe57d1b6abad34061dcceb
1
2
from
distutils
.
core
import
setup
3
from
distutils
.
extension
import
Extension
4
from
Pyrex
.
Distutils
import
build_ext
5
6
setup
(
7
name
=
'_yaml'
,
8
ext_modules
=[
9
Extension
(
"_yaml"
, [
"ext/_yaml.pyx"
],
libraries
=[
'yaml'
]),
10
],
11
cmdclass
= {
'build_ext'
:
build_ext
}
12
)
13