From 8cb66711634710a0ec4773dbdc6d81d93f10ab16 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Fri, 7 Feb 2014 03:33:49 +0100 Subject: Install as module by default --- configure.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/configure.py b/configure.py index e099137..c58fe75 100644 --- a/configure.py +++ b/configure.py @@ -165,7 +165,7 @@ def set_defaults(): break default_sipbindir = plat_bin_dir - default_sipmoddir = plat_py_site_dir + default_sipmoddir = os.path.join(plat_py_site_dir, 'sip4_tqt') default_sipincdir = plat_py_inc_dir default_sipsipdir = plat_sip_dir @@ -257,10 +257,12 @@ def create_makefiles(macros): sipconfig.inform("Creating top level Makefile...") + open('__init__.py', 'a').close() + sipconfig.ParentMakefile( configuration=cfg, subdirs=["sipgen", "siplib"], - installs=(["sipconfig.py", os.path.join(src_dir, "sipdistutils.py")], + installs=(["__init__.py", "sipconfig.py", os.path.join(src_dir, "sipdistutils.py")], cfg.sip_mod_dir) ).generate() -- cgit v1.2.1