[Checkins] SVN: Sandbox/J1m/resumelb/ There can be only one.
jim
cvs-admin at zope.org
Fri Mar 9 22:06:29 UTC 2012
Log message for revision 124551:
There can be only one.
Changed:
D Sandbox/J1m/resumelb/README.txt
U Sandbox/J1m/resumelb/setup.py
-=-
Deleted: Sandbox/J1m/resumelb/README.txt
===================================================================
--- Sandbox/J1m/resumelb/README.txt 2012-03-09 22:06:17 UTC (rev 124550)
+++ Sandbox/J1m/resumelb/README.txt 2012-03-09 22:06:25 UTC (rev 124551)
@@ -1,14 +0,0 @@
-Title Here
-**********
-
-
-To learn more, see
-
-
-Changes
-*******
-
-0.1.0 (yyyy-mm-dd)
-==================
-
-Initial release
Modified: Sandbox/J1m/resumelb/setup.py
===================================================================
--- Sandbox/J1m/resumelb/setup.py 2012-03-09 22:06:17 UTC (rev 124550)
+++ Sandbox/J1m/resumelb/setup.py 2012-03-09 22:06:25 UTC (rev 124551)
@@ -30,6 +30,15 @@
zk = zc.resumelb.zk:worker
"""
+# copy README to root.
+import os
+here = os.path.dirname(__file__)
+with open(
+ os.path.join(here, *(['src'] + name.split('.') + ['README.txt']))
+ ) as inp:
+ with open(os.path.join(here, 'README.txt'), 'w') as outp:
+ outp.write(inp.read())
+
from setuptools import setup
setup(
@@ -51,3 +60,5 @@
tests_require = extras_require['test'],
test_suite = name+'.tests.test_suite',
)
+
+os.remove(os.path.join(here, 'README.txt'))
More information about the checkins
mailing list