mirror of
https://github.com/libguestfs/libguestfs.git
synced 2026-03-21 22:53:37 +00:00
python: Split up large Python extension into smaller C files.
Reduces build time in this directory from 11s to 3s.
This commit is contained in:
@@ -52,7 +52,17 @@ This package contains the Python bindings for libguestfs.
|
||||
ext_modules=[
|
||||
Extension(
|
||||
'libguestfsmod',
|
||||
['guestfs-py-byhand.c', 'guestfs-py.c', 'utils.c'],
|
||||
['actions-0.c',
|
||||
'actions-1.c',
|
||||
'actions-2.c',
|
||||
'actions-3.c',
|
||||
'actions-4.c',
|
||||
'actions-5.c',
|
||||
'actions-6.c',
|
||||
'handle.c',
|
||||
'module.c',
|
||||
'structs.c',
|
||||
'utils.c'],
|
||||
|
||||
include_dirs=['.', '../src'],
|
||||
libraries=['guestfs'],
|
||||
|
||||
Reference in New Issue
Block a user