mirror of
https://github.com/arsenetar/dupeguru.git
synced 2026-01-22 14:41:39 +00:00
Improved arch packaging
No need to bundle a .desktop file with arch source packages anymore. dupeGuru's source package takes care of that.
This commit is contained in:
24
pkg/debian/build_pe_modules.py
Normal file
24
pkg/debian/build_pe_modules.py
Normal file
@@ -0,0 +1,24 @@
|
||||
import sys
|
||||
import os
|
||||
import os.path as op
|
||||
import shutil
|
||||
import importlib
|
||||
|
||||
from setuptools import setup, Extension
|
||||
|
||||
sys.path.insert(1, op.abspath('src'))
|
||||
|
||||
from hscommon.build import move_all
|
||||
|
||||
exts = [
|
||||
Extension("_block", [op.join('modules', 'block.c'), op.join('modules', 'common.c')]),
|
||||
Extension("_cache", [op.join('modules', 'cache.c'), op.join('modules', 'common.c')]),
|
||||
Extension("_block_qt", [op.join('modules', 'block_qt.c')]),
|
||||
]
|
||||
setup(
|
||||
script_args = ['build_ext', '--inplace'],
|
||||
ext_modules = exts,
|
||||
)
|
||||
move_all('_block_qt*', op.join('src', 'qt', 'pe'))
|
||||
move_all('_cache*', op.join('src', 'core_pe'))
|
||||
move_all('_block*', op.join('src', 'core_pe'))
|
||||
Reference in New Issue
Block a user