[Checkins] SVN: zc.zkzeo/trunk/ Fixed: Packaging: distribute can't install distributions with

Jim Fulton jim at zope.com
Tue Feb 7 17:58:03 UTC 2012


Log message for revision 124324:
  Fixed: Packaging: distribute can't install distributions with
  symlinks, so stopped using symlinks in distribution.
  

Changed:
  D   zc.zkzeo/trunk/README.txt
  U   zc.zkzeo/trunk/setup.py
  U   zc.zkzeo/trunk/src/zc/zkzeo/README.txt

-=-
Deleted: zc.zkzeo/trunk/README.txt
===================================================================
--- zc.zkzeo/trunk/README.txt	2012-02-07 17:17:34 UTC (rev 124323)
+++ zc.zkzeo/trunk/README.txt	2012-02-07 17:58:03 UTC (rev 124324)
@@ -1 +0,0 @@
-link src/zc/zkzeo/README.txt
\ No newline at end of file

Modified: zc.zkzeo/trunk/setup.py
===================================================================
--- zc.zkzeo/trunk/setup.py	2012-02-07 17:17:34 UTC (rev 124323)
+++ zc.zkzeo/trunk/setup.py	2012-02-07 17:58:03 UTC (rev 124324)
@@ -27,6 +27,15 @@
 
 from setuptools import setup
 
+# 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())
+
 setup(
     author = 'Jim Fulton',
     author_email = 'jim at zope.com',
@@ -46,3 +55,6 @@
     tests_require = extras_require['test'],
     test_suite = name+'.tests.test_suite',
     )
+
+
+os.remove(os.path.join(here, 'README.txt'))

Modified: zc.zkzeo/trunk/src/zc/zkzeo/README.txt
===================================================================
--- zc.zkzeo/trunk/src/zc/zkzeo/README.txt	2012-02-07 17:17:34 UTC (rev 124323)
+++ zc.zkzeo/trunk/src/zc/zkzeo/README.txt	2012-02-07 17:58:03 UTC (rev 124324)
@@ -326,15 +326,18 @@
 0.3.0 (2012-02-07)
 ------------------
 
+- Added a static extra to force a dependency on
+  ``zc-zookeeper-static``.
+
 - Fixed: zc.zkzeo depended on ``zc.zk [static]``, which forced
   installation of ``zc-zookeeper-static``, which should be optional.
 
-- Added a static extra to force a dependency on
-  ``zc-zookeeper-static``.
-
 - Fixed: tests didn't pass with a recent change in handling of
   registration with empty host names in ``zc.zk``.
 
+- Fixed: Packaging: distribute can't install distributions with
+  symlinks, so stopped using symlinks in distribution.
+
 0.2.1 (2011-12-14)
 ------------------
 



More information about the checkins mailing list