Browse Source

Install as module by default

pull/1/head
Slávek Banko 9 years ago
parent
commit
8cb6671163
  1. 6
      configure.py

6
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()

Loading…
Cancel
Save