generated from pybind/python_example
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
25 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
[metadata] | ||
name = pysilk-mod | ||
url = https://github.com/DCZYewen/Python-Silk-Module | ||
project_urls = | ||
Source Code = https://github.com/DCZYewen/Python-Silk-Module | ||
license = see LICENSE | ||
author = DCZYewen | ||
author_email = [email protected] | ||
maintainer = wyapx | ||
maintainer_email = [email protected] | ||
description = Python silk decode/encoder | ||
long_description = Python silk decode/encoder bindings using pybind11 | ||
|
||
[options] | ||
packages = find: | ||
package_dir = = src | ||
include_package_data = true | ||
python_requires = >= 3.6 | ||
|
||
[options.packages.find] | ||
where = src |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,19 @@ | ||
import glob | ||
|
||
from setuptools import setup | ||
|
||
# Available at setup time due to pyproject.toml | ||
try: | ||
from pybind11.setup_helpers import Pybind11Extension as Extension | ||
except ImportError: | ||
from setuptools import Extension | ||
|
||
__version__ = "1.2.2" | ||
__version__ = "1.3.0" | ||
|
||
setup( | ||
name="pysilk-mod", | ||
version=__version__, | ||
author="DCZYewen", | ||
author_email="[email protected]", | ||
url="https://github.com/DCZYewen/Python-Silk-Module", | ||
description="Python silk decode/encoder", | ||
long_description="Python silk decode/encoder bindings using pybind11", | ||
packages=["src/pysilk"], | ||
requires=["pybind11"], | ||
zip_safe=False, | ||
install_requires=["pybind11"], | ||
zip_safe=True, | ||
ext_modules=[ | ||
Extension( | ||
"_pysilk", ["src/silk/_pysilk.cpp", "src/silk/codec.cpp", *glob.glob("src/silk/src/*.c")], | ||
|