From b303548591ff122703755f353af612ce0ec42c1b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matthias=20K=C3=B6fferlein?= Date: Tue, 24 Aug 2021 21:36:51 +0200 Subject: [PATCH] Issue 886 (python module does not build from sources) (#896) * Added cc_gen to manifest file * Added lib sources to manifest --- MANIFEST.in | 3 ++- setup.py | 1 - 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/MANIFEST.in b/MANIFEST.in index 4116c5b22..531a510b2 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -1,8 +1,9 @@ recursive-include src/tl/tl *.cc *.h -recursive-include src/db/db *.cc *.h +recursive-include src/db/db *.cc *.cc_gen *.h recursive-include src/gsi/gsi *.cc *.h recursive-include src/rdb/rdb *.cc *.h recursive-include src/pya/pya *.cc *.h +recursive-include src/lib/lib *.cc *.h recursive-include src/pymod *.cc *.h include src/plugins/*/db_plugin/*.cc include src/plugins/*/*/db_plugin/*.cc diff --git a/setup.py b/setup.py index 1dcce200a..d6e47cd81 100644 --- a/setup.py +++ b/setup.py @@ -564,7 +564,6 @@ rdb_sources = set(glob.glob(os.path.join(rdb_path, "*.cc"))) rdb = Extension(config.root + '.rdbcore', define_macros=config.macros(), - include_dirs=[_rdb_path, _tl_path, _gsi_path, _pya_path], extra_objects=[config.path_of('_rdb', _rdb_path), config.path_of('_tl', _tl_path), config.path_of('_gsi', _gsi_path), config.path_of('_pya', _pya_path)], extra_link_args=config.link_args('rdbcore'),