Revert "Treat openslides the same way as other packages"

This reverts commit 14ba868df4.
This commit is contained in:
Andy Kittner 2012-11-18 14:21:11 +01:00
parent f40f091658
commit b4a4d15a7f

View File

@ -45,6 +45,10 @@ LIBEXCLUDE = [
r"^unittest/", r"^unittest/",
] ]
OPENSLIDES_EXCLUDE = [
r"^openslides/settings.py"
]
SITE_PACKAGES = { SITE_PACKAGES = {
"django": { "django": {
@ -80,10 +84,7 @@ SITE_PACKAGES = {
"pil": { "pil": {
# NOTE: PIL is a special case, see copy_pil # NOTE: PIL is a special case, see copy_pil
"copy": [], "copy": [],
}, }
"openslides": {
"copy" : ["openslides"],
},
} }
PY_DLLS = [ PY_DLLS = [
@ -301,6 +302,9 @@ def main():
collect_lib(libdir, odir) collect_lib(libdir, odir)
collect_site_packages(sitedir, os.path.join(odir, "site-packages")) collect_site_packages(sitedir, os.path.join(odir, "site-packages"))
exclude = get_pkg_exclude("openslides", OPENSLIDES_EXCLUDE)
copy_dir_exclude(exclude, ".", "openslides", odir)
if not compile_openslides_launcher(): if not compile_openslides_launcher():
sys.stdout.write("Using prebuild openslides.exe\n") sys.stdout.write("Using prebuild openslides.exe\n")