Skip to content

Commit

Permalink
split setup info
Browse files Browse the repository at this point in the history
  • Loading branch information
wyapx committed Dec 12, 2021
1 parent 37a4000 commit 8420442
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 10 deletions.
21 changes: 21 additions & 0 deletions setup.cfg
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
14 changes: 4 additions & 10 deletions setup.py
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")],
Expand Down

0 comments on commit 8420442

Please sign in to comment.