Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAleksey Lim <alsroot@sugarlabs.org>2012-03-07 12:24:24 (GMT)
committer Aleksey Lim <alsroot@sugarlabs.org>2012-03-07 12:24:24 (GMT)
commit7fa8172ac1d1c8afcd6e7c45600e5932cc4f5799 (patch)
tree7b8533cad9a2d6bc261cdbde3801559e22828ab8
parent4e86d38734b8d9fa03e1bd77be5831c8043b8895 (diff)
Decent default config values to help with packaging
-rw-r--r--restful_document/env.py4
-rw-r--r--sweets.recipe7
2 files changed, 6 insertions, 5 deletions
diff --git a/restful_document/env.py b/restful_document/env.py
index eb6c6f8..55db466 100644
--- a/restful_document/env.py
+++ b/restful_document/env.py
@@ -46,11 +46,11 @@ foreground = util.Option(
logdir = util.Option(
_('path to the directory to place log files'),
- default='/var/log')
+ default='/var/log/sugar-network')
rundir = util.Option(
_('path to the directory to place pid files'),
- default='/var/run')
+ default='/var/run/sugar-network')
trust_users = util.Option(
_('switch off user credentials check; disabling this option will ' \
diff --git a/sweets.recipe b/sweets.recipe
index a145858..7b0b897 100644
--- a/sweets.recipe
+++ b/sweets.recipe
@@ -1,6 +1,9 @@
[DEFAULT]
-implement = Server:Factory/%(name)s
name = restful-document
+
+[Package]
+project = Server:Factory
+implement = %(name)s
summary = WSGI mini-framework to share active-document objects
license = GPLv3+
homepage = http://wiki.sugarlabs.org/go/Sugar_Server_Kit/RESTful_Document
@@ -8,9 +11,7 @@ homepage = http://wiki.sugarlabs.org/go/Sugar_Server_Kit/RESTful_Document
version = 0.1
stability = developer
-[Package]
requires = base/m2crypto; active-document
-source = %(name)s-%(version)s.tar.gz
[Build]
install = install -m 0755 -d %(DESTDIR)s/%(PYTHONSITEDIR)s &&