Skip to content

Commit

Permalink
Update setup.py
Browse files Browse the repository at this point in the history
  • Loading branch information
affggh committed Sep 25, 2022
1 parent 376f0ed commit 9476503
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@
from setuptools import Extension, setup

from distutils.core import setup, Extension #这里要用到distutils库
module = Extension('opsplash', sources = ['pyopsplash.c'],
module = Extension('opsplash', sources = ['src/pyopsplash.c'],
extra_compile_args=['-Wall',
'-O2'],
include_dirs=["."],
include_dirs=["include"],
libraries=['z'] # zlib
)
setup (name = 'opsplash', #打包名
version = '1.14', #版本
description = 'opsplash Python/C lib', #说明文字
ext_modules = [module])
ext_modules = [module])

0 comments on commit 9476503

Please sign in to comment.