FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
msgpack-python/setup.py at main · msgpack/msgpack-python · GitHub
Uh oh!
There was an error while loading.
Please reload this page
.
msgpack
/
msgpack-python
Public
Notifications
You must be signed in to change notification settings
Fork
255
Star
2.1k
Code
Issues
4
Pull requests
5
Discussions
Actions
Security and quality
1
Insights
Additional navigation options
Code
Issues
Pull requests
Discussions
Actions
Security and quality
Insights
Expand file tree
Breadcrumbs
msgpack-python
/
setup.py
Copy path
More file actions
More file actions
Latest commit
History
History
History
32 lines (26 loc) · 655 Bytes
Breadcrumbs
msgpack-python
/
setup.py
Copy path
File metadata and controls
32 lines (26 loc) · 655 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
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
#!/usr/bin/env python
import
os
import
sys
from
setuptools
import
Extension
,
setup
PYPY
=
hasattr
(
sys
,
"pypy_version_info"
)
libraries
=
[]
macros
=
[]
ext_modules
=
[]
if
sys
.
platform
==
"win32"
:
libraries
.
append
(
"ws2_32"
)
macros
=
[(
"__LITTLE_ENDIAN__"
,
"1"
)]
if
not
PYPY
and
not
os
.
environ
.
get
(
"MSGPACK_PUREPYTHON"
):
ext_modules
.
append
(
Extension
(
"msgpack._cmsgpack"
,
sources
=
[
"msgpack/_cmsgpack.c"
],
libraries
=
libraries
,
include_dirs
=
[
"."
],
define_macros
=
macros
,
)
)
del
libraries
,
macros
setup
(
ext_modules
=
ext_modules
,
packages
=
[
"msgpack"
],
)
Back
|
FazBrowse Home
|
New Git URL