1
0
mirror of https://github.com/arsenetar/dupeguru.git synced 2026-01-22 14:41:39 +00:00

Minor Updates

- Cleanup extension modules in setup.py to use correct namespaces
- Update build.py to leverage setup.py for modules
- Roll mutagen required version back to 1.44.0 to support more distros
- Change build.py and sphinxgen.py to use pathlib
- Remove hsaudiotag from package list for debian and arch
This commit is contained in:
2021-08-26 03:29:24 -05:00
parent 814d145366
commit 83f401595d
5 changed files with 44 additions and 78 deletions

View File

@@ -3,7 +3,7 @@ from pathlib import Path
exts = [
Extension(
"_block",
"core.pe._block",
[
str(Path("core", "pe", "modules", "block.c")),
str(Path("core", "pe", "modules", "common.c")),
@@ -11,19 +11,16 @@ exts = [
include_dirs=[str(Path("core", "pe", "modules"))],
),
Extension(
"_cache",
"core.pe._cache",
[
str(Path("core", "pe", "modules", "cache.c")),
str(Path("core", "pe", "modules", "common.c")),
],
include_dirs=[str(Path("core", "pe", "modules"))],
),
Extension("_block_qt", [str(Path("qt", "pe", "modules", "block.c"))]),
Extension("qt.pe._block_qt", [str(Path("qt", "pe", "modules", "block.c"))]),
]
headers = [str(Path("core", "pe", "modules", "common.h"))]
setup(
ext_modules=exts,
headers=headers,
)
setup(ext_modules=exts, headers=headers)