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
@ -25,6 +24,8 @@ setup(
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=[