summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2014-02-07 03:33:49 +0100
committerSlávek Banko <slavek.banko@axis.cz>2014-02-07 03:33:49 +0100
commit8cb66711634710a0ec4773dbdc6d81d93f10ab16 (patch)
treed7b7b5e1271235811a47c87cf0b9640743609da9
parente1f1a8aaaf6817fefb990898bcc3c8dd30ee6989 (diff)
downloadsip4-tqt-8cb66711634710a0ec4773dbdc6d81d93f10ab16.tar.gz
sip4-tqt-8cb66711634710a0ec4773dbdc6d81d93f10ab16.zip
Install as module by default
-rw-r--r--configure.py6
1 files 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()