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