mirror of
https://github.com/arsenetar/dupeguru.git
synced 2024-11-04 23:39:02 +00:00
Andrew Senetar
83f401595d
- 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
27 lines
754 B
Python
27 lines
754 B
Python
from setuptools import setup, Extension
|
|
from pathlib import Path
|
|
|
|
exts = [
|
|
Extension(
|
|
"core.pe._block",
|
|
[
|
|
str(Path("core", "pe", "modules", "block.c")),
|
|
str(Path("core", "pe", "modules", "common.c")),
|
|
],
|
|
include_dirs=[str(Path("core", "pe", "modules"))],
|
|
),
|
|
Extension(
|
|
"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("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)
|