mirror of
https://github.com/arsenetar/dupeguru.git
synced 2024-10-31 22:05:58 +00:00
d660cef245
* Rename package (dupeguru-se -> dupeguru) * Update package name in .desktop files and scripts * Add Ubuntu package building instructions * Fix build_pe_modules.py * Add description to package * Add conflicts dependencies to replace previous versions * Update python version * Unify .json configs * Few cosmetics changes (mainly missing end-lines and images permissions)
25 lines
670 B
Python
25 lines
670 B
Python
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'))
|