[Checkins] SVN: Sandbox/thefunny42/kgs.test/trunk/src/kgs_test.py Create a default buildout.cfg.
Sylvain Viollon
sylvain at infrae.com
Tue Jan 27 05:01:24 EST 2009
Log message for revision 95102:
Create a default buildout.cfg.
Changed:
U Sandbox/thefunny42/kgs.test/trunk/src/kgs_test.py
-=-
Modified: Sandbox/thefunny42/kgs.test/trunk/src/kgs_test.py
===================================================================
--- Sandbox/thefunny42/kgs.test/trunk/src/kgs_test.py 2009-01-27 09:57:50 UTC (rev 95101)
+++ Sandbox/thefunny42/kgs.test/trunk/src/kgs_test.py 2009-01-27 10:01:23 UTC (rev 95102)
@@ -84,7 +84,6 @@
if not os.path.isdir(DEVELOP_EGG):
os.mkdir(DEVELOP_EGG)
-
kgs_env = Environment([EGG_CACHE,])
kgs_ws = WorkingSet(kgs_env)
trunk_env = Environment([DEVELOP_EGG,])
@@ -128,5 +127,14 @@
for path in os.listdir(DEVELOP_EGG):
os.remove(DEVELOP_EGG + '/' + path)
+ # Create a default buildout.cfg if it doesn't exits yet.
+ if not os.path.isfile('buildout.cfg'):
+ buildout_conf = open('buildout.cfg', 'w')
+ buildout_conf.write("""
+[buildout]
+extends = kgs.cfg
+""")
+
+
if __name__ == '__main__':
main()
More information about the Checkins
mailing list