pyragephoto: ship libragephoto with Python Package

This commit is contained in:
Syping 2023-11-16 00:07:43 +01:00
parent 8b8da1c1ef
commit 534d978e47
2 changed files with 15 additions and 8 deletions

View File

@ -16,3 +16,9 @@ build-backend = "setuptools.build_meta"
[project.urls]
"Homepage" = "https://libragephoto.syping.de/"
[tool.setuptools]
include-package-data = true
[tool.setuptools.package-data]
ragephoto = ["*.dll", "*.so"]

View File

@ -1,5 +1,4 @@
#!/usr/bin/env python3
##############################################################################
# libragephoto for Python
# Copyright (C) 2023 Syping
@ -21,13 +20,15 @@
from setuptools import setup, find_packages
setup(
name = "ragephoto",
version = "@ragephoto_VERSION@",
author = "Syping",
packages = ["ragephoto"],
url = "https://libragephoto.syping.de/",
description = "libragephoto for Python",
classifiers = [
name="ragephoto",
version="@ragephoto_VERSION@",
author="Syping",
packages=["ragephoto"],
package_data={"ragephoto":["*.dll","*.so"]},
include_package_data=True,
url="https://libragephoto.syping.de/",
description="libragephoto for Python",
classifiers=[
"License :: OSI Approved :: BSD-2-Clause",
]
)