aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRob Austein <sra@hactrn.net>2016-02-12 23:44:05 +0000
committerRob Austein <sra@hactrn.net>2016-02-12 23:44:05 +0000
commit7efae58be1aa009dda9bc63172636986ed1d2cd8 (patch)
tree1d7563273f1a13516ad32a5145896f63c811f9f9
parent929924f9f0a1f15eba633ab558b3a5e5b12bc830 (diff)
Update settings.py installation glorp.
svn path=/branches/tk705/; revision=6252
-rw-r--r--setup.py23
1 files changed, 14 insertions, 9 deletions
diff --git a/setup.py b/setup.py
index bb449e03..6bd5245b 100644
--- a/setup.py
+++ b/setup.py
@@ -50,16 +50,19 @@ scripts = []
# I keep forgetting to update the packages list here. Could we
# automate this by looking for __init__.py files in the rpki/ tree?
-# Might have to filter out some rpki.gui.app subdirs.
+# Might have to filter out some rpki.gui.app subdirs, or, rather,
+# list those as package_data instead.
if autoconf.RP_TARGET == "rp":
setup_args.update(
packages = ["rpki",
"rpki.POW",
+ "rpki.django_settings",
"rpki.rtr",
"rpki.irdb",
"rpki.pubdb",
"rpki.rpkidb",
+ "rpki.rcynicdb",
"rpki.gui",
"rpki.gui.app",
"rpki.gui.cacheview",
@@ -69,14 +72,16 @@ if autoconf.RP_TARGET == "rp":
include_dirs = [cflag[2:] for cflag in autoconf.CFLAGS.split() if cflag.startswith("-I")],
extra_compile_args = [cflag for cflag in autoconf.CFLAGS.split() if not cflag.startswith("-I")],
extra_link_args = autoconf.LDFLAGS.split() + autoconf.LIBS.split())],
- package_data = {"rpki.gui.app" :
- ["migrations/*.py",
- "static/*/*",
- "templates/*.html",
- "templates/*/*.html",
- "templatetags/*.py"],
- "rpki.gui.cacheview" :
- ["templates/*/*.html"]})
+ package_data = {"rpki.gui.app" : ["migrations/*.py",
+ "static/*/*",
+ "templates/*.html",
+ "templates/*/*.html",
+ "templatetags/*.py"],
+ "rpki.gui.cacheview" : ["templates/*/*.html"],
+ "rpki.irdb": ["migrations/*.py"],
+ "rpki.pubdb": ["migrations/*.py"],
+ "rpki.rpkidb": ["migrations/*.py"],
+ "rpki.rcynicdb": ["migrations/*.py"]})
scripts += [(autoconf.bindir,
["rp/rcynic/rcynic-cron",