Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 4bad186

Browse files
committed
Include headers.
1 parent 7332262 commit 4bad186

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

‎setup.py‎

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
1+
import glob
12
from setuptools import setup, Extension
23

34
_quickjs = Extension('_quickjs',
45
define_macros=[('CONFIG_VERSION', '"2019年07月09日"')],
5-
sources=[
6-
'module.c', 'third-party/quickjs.c', 'third-party/cutils.c',
7-
'third-party/libregexp.c', 'third-party/libunicode.c'
8-
])
6+
sources=['module.c'] + glob.glob("third-party/*.c"),
7+
headers=glob.glob("third-party/*.h"))
98

109
long_description = """
1110
Thin Python wrapper around https://bellard.org/quickjs/ .
@@ -15,7 +14,7 @@
1514
author_email="petter.strandmark@gmail.com",
1615
name='quickjs',
1716
url='https://github.com/PetterS/quickjs',
18-
version='1.0.7',
17+
version='1.0.8',
1918
description='Wrapping the quickjs C library.',
2019
long_description=long_description,
2120
packages=["quickjs"],

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /