<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>[12079] CalendarServer/trunk</title>
</head>
<body>

<style type="text/css"><!--
#msg dl.meta { border: 1px #006 solid; background: #369; padding: 6px; color: #fff; }
#msg dl.meta dt { float: left; width: 6em; font-weight: bold; }
#msg dt:after { content:':';}
#msg dl, #msg dt, #msg ul, #msg li, #header, #footer, #logmsg { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt;  }
#msg dl a { font-weight: bold}
#msg dl a:link    { color:#fc3; }
#msg dl a:active  { color:#ff0; }
#msg dl a:visited { color:#cc6; }
h3 { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; font-weight: bold; }
#msg pre { overflow: auto; background: #ffc; border: 1px #fa0 solid; padding: 6px; }
#logmsg { background: #ffc; border: 1px #fa0 solid; padding: 1em 1em 0 1em; }
#logmsg p, #logmsg pre, #logmsg blockquote { margin: 0 0 1em 0; }
#logmsg p, #logmsg li, #logmsg dt, #logmsg dd { line-height: 14pt; }
#logmsg h1, #logmsg h2, #logmsg h3, #logmsg h4, #logmsg h5, #logmsg h6 { margin: .5em 0; }
#logmsg h1:first-child, #logmsg h2:first-child, #logmsg h3:first-child, #logmsg h4:first-child, #logmsg h5:first-child, #logmsg h6:first-child { margin-top: 0; }
#logmsg ul, #logmsg ol { padding: 0; list-style-position: inside; margin: 0 0 0 1em; }
#logmsg ul { text-indent: -1em; padding-left: 1em; }#logmsg ol { text-indent: -1.5em; padding-left: 1.5em; }
#logmsg > ul, #logmsg > ol { margin: 0 0 1em 0; }
#logmsg pre { background: #eee; padding: 1em; }
#logmsg blockquote { border: 1px solid #fa0; border-left-width: 10px; padding: 1em 1em 0 1em; background: white;}
#logmsg dl { margin: 0; }
#logmsg dt { font-weight: bold; }
#logmsg dd { margin: 0; padding: 0 0 0.5em 0; }
#logmsg dd:before { content:'\00bb';}
#logmsg table { border-spacing: 0px; border-collapse: collapse; border-top: 4px solid #fa0; border-bottom: 1px solid #fa0; background: #fff; }
#logmsg table th { text-align: left; font-weight: normal; padding: 0.2em 0.5em; border-top: 1px dotted #fa0; }
#logmsg table td { text-align: right; border-top: 1px dotted #fa0; padding: 0.2em 0.5em; }
#logmsg table thead th { text-align: center; border-bottom: 1px solid #fa0; }
#logmsg table th.Corner { text-align: left; }
#logmsg hr { border: none 0; border-top: 2px dashed #fa0; height: 1px; }
#header, #footer { color: #fff; background: #636; border: 1px #300 solid; padding: 6px; }
#patch { width: 100%; }
#patch h4 {font-family: verdana,arial,helvetica,sans-serif;font-size:10pt;padding:8px;background:#369;color:#fff;margin:0;}
#patch .propset h4, #patch .binary h4 {margin:0;}
#patch pre {padding:0;line-height:1.2em;margin:0;}
#patch .diff {width:100%;background:#eee;padding: 0 0 10px 0;overflow:auto;}
#patch .propset .diff, #patch .binary .diff  {padding:10px 0;}
#patch span {display:block;padding:0 10px;}
#patch .modfile, #patch .addfile, #patch .delfile, #patch .propset, #patch .binary, #patch .copfile {border:1px solid #ccc;margin:10px 0;}
#patch ins {background:#dfd;text-decoration:none;display:block;padding:0 10px;}
#patch del {background:#fdd;text-decoration:none;display:block;padding:0 10px;}
#patch .lines, .info {color:#888;background:#fff;}
--></style>
<div id="msg">
<dl class="meta">
<dt>Revision</dt> <dd><a href="http://trac.calendarserver.org//changeset/12079">12079</a></dd>
<dt>Author</dt> <dd>wsanchez@apple.com</dd>
<dt>Date</dt> <dd>2013-12-12 19:00:35 -0800 (Thu, 12 Dec 2013)</dd>
</dl>

<h3>Log Message</h3>
<pre>twext is now external</pre>

<h3>Modified Paths</h3>
<ul>
<li><a href="#CalendarServertrunksetuppy">CalendarServer/trunk/setup.py</a></li>
<li><a href="#CalendarServertrunksupportbuildsh">CalendarServer/trunk/support/build.sh</a></li>
<li><a href="#CalendarServertrunktest">CalendarServer/trunk/test</a></li>
</ul>

<h3>Removed Paths</h3>
<ul>
<li>CalendarServer/trunk/twext/</li>
</ul>

</div>
<div id="patch">
<h3>Diff</h3>
<a id="CalendarServertrunksetuppy"></a>
<div class="modfile"><h4>Modified: CalendarServer/trunk/setup.py (12078 => 12079)</h4>
<pre class="diff"><span>
<span class="info">--- CalendarServer/trunk/setup.py        2013-12-13 02:28:15 UTC (rev 12078)
+++ CalendarServer/trunk/setup.py        2013-12-13 03:00:35 UTC (rev 12079)
</span><span class="lines">@@ -15,6 +15,7 @@
</span><span class="cx"> # See the License for the specific language governing permissions and
</span><span class="cx"> # limitations under the License.
</span><span class="cx"> ##
</span><ins>+
</ins><span class="cx"> from __future__ import print_function
</span><span class="cx"> 
</span><span class="cx"> import sys
</span><span class="lines">@@ -26,18 +27,18 @@
</span><span class="cx"> 
</span><span class="cx"> 
</span><span class="cx"> 
</span><del>-def find_modules():
</del><ins>+def find_packages():
</ins><span class="cx">     modules = [
</span><span class="cx">         &quot;twisted.plugins&quot;,
</span><span class="cx">     ]
</span><span class="cx"> 
</span><del>-    for root, dirs, files in os.walk(&quot;.&quot;):
-        excludes = [
-            &quot;.svn&quot;,
-            &quot;_trial_temp&quot;,
-            &quot;build&quot;,
-        ]
</del><ins>+    excludes = [
+        &quot;.svn&quot;,
+        &quot;_trial_temp&quot;,
+        &quot;build&quot;,
+    ]
</ins><span class="cx"> 
</span><ins>+    for root, dirs, files in os.walk(&quot;.&quot;):
</ins><span class="cx">         if root == &quot;.&quot;:
</span><span class="cx">             excludes.append(&quot;data&quot;)
</span><span class="cx"> 
</span><span class="lines">@@ -50,6 +51,7 @@
</span><span class="cx"> 
</span><span class="cx">     return modules
</span><span class="cx"> 
</span><ins>+
</ins><span class="cx"> #
</span><span class="cx"> # Options
</span><span class="cx"> #
</span><span class="lines">@@ -61,6 +63,7 @@
</span><span class="cx"> 
</span><span class="cx"> classifiers = None
</span><span class="cx"> 
</span><ins>+
</ins><span class="cx"> #
</span><span class="cx"> # Write version file
</span><span class="cx"> #
</span><span class="lines">@@ -75,16 +78,14 @@
</span><span class="cx"> version_file.write('version = &quot;{version}&quot;\n'.format(version=version_string))
</span><span class="cx"> version_file.close()
</span><span class="cx"> 
</span><ins>+
</ins><span class="cx"> #
</span><span class="cx"> # Set up Extension modules that need to be built
</span><span class="cx"> #
</span><span class="cx"> 
</span><span class="cx"> from distutils.core import Extension
</span><span class="cx"> 
</span><del>-extensions = [
-    Extension(&quot;twext.python.sendmsg&quot;,
-              sources=[&quot;twext/python/sendmsg.c&quot;])
-]
</del><ins>+extensions = []
</ins><span class="cx"> 
</span><span class="cx"> if sys.platform == &quot;darwin&quot;:
</span><span class="cx">     extensions.append(
</span><span class="lines">@@ -95,11 +96,7 @@
</span><span class="cx">         )
</span><span class="cx">     )
</span><span class="cx"> 
</span><del>-    from twext.python import launchd
-    extensions.append(launchd.ffi.verifier.get_extension())
</del><span class="cx"> 
</span><del>-
-
</del><span class="cx"> #
</span><span class="cx"> # Run setup
</span><span class="cx"> #
</span><span class="lines">@@ -112,13 +109,13 @@
</span><span class="cx">         version=version_string,
</span><span class="cx">         description=description,
</span><span class="cx">         long_description=long_description,
</span><del>-        url=None,
</del><ins>+        url=&quot;http://www.calendarserver.org/&quot;,
</ins><span class="cx">         classifiers=classifiers,
</span><span class="cx">         author=&quot;Apple Inc.&quot;,
</span><span class="cx">         author_email=None,
</span><del>-        license=None,
</del><ins>+        license=&quot;Apache License, Version 2.0&quot;,
</ins><span class="cx">         platforms=[&quot;all&quot;],
</span><del>-        packages=find_modules(),
</del><ins>+        packages=find_packages(),
</ins><span class="cx">         package_data={
</span><span class="cx">             &quot;twistedcaldav&quot;: [
</span><span class="cx">                 &quot;*.html&quot;,
</span><span class="lines">@@ -237,6 +234,5 @@
</span><span class="cx">             newScript.close()
</span><span class="cx"> 
</span><span class="cx"> 
</span><del>-
</del><span class="cx"> if __name__ == &quot;__main__&quot;:
</span><span class="cx">     doSetup()
</span></span></pre></div>
<a id="CalendarServertrunksupportbuildsh"></a>
<div class="modfile"><h4>Modified: CalendarServer/trunk/support/build.sh (12078 => 12079)</h4>
<pre class="diff"><span>
<span class="info">--- CalendarServer/trunk/support/build.sh        2013-12-13 02:28:15 UTC (rev 12078)
+++ CalendarServer/trunk/support/build.sh        2013-12-13 03:00:35 UTC (rev 12079)
</span><span class="lines">@@ -509,9 +509,7 @@
</span><span class="cx">                           # already has it?
</span><span class="cx">   local  inplace=&quot;&quot;;      # Do development in-place; don't run setup.py to
</span><span class="cx">                           # build, and instead add the source directory plus the
</span><del>-                          # given relative path directly to sys.path.  twisted
-                          # and pycalendar are developed often enough that this is
-                          # convenient.
</del><ins>+                          # given relative path directly to sys.path.
</ins><span class="cx">   local skip_egg=&quot;false&quot;; # Skip even the 'egg_info' step, because nothing needs
</span><span class="cx">                           # to be built.
</span><span class="cx">   local revision=&quot;0&quot;;     # Revision (if svn)
</span><span class="lines">@@ -777,6 +775,20 @@
</span><span class="cx">     &quot;setuptools&quot; &quot;setuptools&quot; &quot;${st}&quot; \
</span><span class="cx">     &quot;$pypi/s/setuptools/${st}.tar.gz&quot;;
</span><span class="cx"> 
</span><ins>+  local v=&quot;0.6&quot;;
+  local n=&quot;cffi&quot;;
+  local p=&quot;${n}-${v}&quot;;
+  py_dependency -v &quot;0.6&quot; -m &quot;5be33b1ab0247a984d42b27344519337&quot; \
+    &quot;${n}&quot; &quot;${n}&quot; &quot;${p}&quot; \
+    &quot;${pypi}/c/${n}/${p}.tar.gz&quot;;
+
+  local v=&quot;2.10&quot;;
+  local n=&quot;pycparser&quot;;
+  local p=&quot;${n}-${v}&quot;;
+  py_dependency -v &quot;0.6&quot; -m &quot;d87aed98c8a9f386aa56d365fe4d515f&quot; \
+    &quot;${n}&quot; &quot;${n}&quot; &quot;${p}&quot; \
+    &quot;${pypi}/p/${n}/${p}.tar.gz&quot;;
+
</ins><span class="cx">   local v=&quot;4.0.5&quot;;
</span><span class="cx">   local n=&quot;zope.interface&quot;;
</span><span class="cx">   local p=&quot;${n}-${v}&quot;;
</span><span class="lines">@@ -793,8 +805,10 @@
</span><span class="cx"> 
</span><span class="cx">   local n=&quot;PyKerberos&quot;;
</span><span class="cx">   if type -P krb5-config &gt; /dev/null; then
</span><del>-    py_dependency -r 9409 \
-      &quot;${n}&quot; &quot;kerberos&quot; &quot;${n}&quot; \
</del><ins>+    local v=&quot;9409&quot;;
+    local p=&quot;${n}-${v}&quot;;
+    py_dependency -r &quot;${v}&quot; \
+      &quot;${n}&quot; &quot;kerberos&quot; &quot;${p}&quot; \
</ins><span class="cx">       &quot;${svn_uri_base}/${n}/trunk&quot;;
</span><span class="cx">   fi;
</span><span class="cx"> 
</span><span class="lines">@@ -821,6 +835,27 @@
</span><span class="cx">     &quot;${n}&quot; &quot;pgdb&quot; &quot;${p}&quot; \
</span><span class="cx">     &quot;${pypi}/P/${n}/${p}.tgz&quot;;
</span><span class="cx"> 
</span><ins>+  local v=&quot;0.1.2&quot;;
+  local n=&quot;sqlparse&quot;;
+  local p=&quot;${n}-${v}&quot;;
+  py_dependency -v &quot;${v}&quot; -s &quot;978874e5ebbd78e6d419e8182ce4fb3c30379642&quot; \
+    &quot;SQLParse&quot; &quot;${n}&quot; &quot;${p}&quot; \
+    &quot;http://python-sqlparse.googlecode.com/files/${p}.tar.gz&quot;;
+
+  local v=&quot;2.6.1&quot;;
+  local n=&quot;pycrypto&quot;;
+  local p=&quot;${n}-${v}&quot;;
+  py_dependency -v &quot;${v}&quot; -m &quot;55a61a054aa66812daf5161a0d5d7eda&quot; \
+    &quot;PyCrypto&quot; &quot;${n}&quot; &quot;${p}&quot; \
+    &quot;http://ftp.dlitz.net/pub/dlitz/crypto/${n}/${p}.tar.gz&quot;;
+
+  local v=&quot;0.1.7&quot;;
+  local n=&quot;pyasn1&quot;;
+  local p=&quot;${n}-${v}&quot;;
+  py_dependency -v &quot;${v}&quot; -m &quot;2cbd80fcd4c7b1c82180d3d76fee18c8&quot; \
+    &quot;${n}&quot; &quot;${n}&quot; &quot;${p}&quot; \
+    &quot;${pypi}/p/${n}/${p}.tar.gz&quot;;
+
</ins><span class="cx">   local v=&quot;13.2.0&quot;;
</span><span class="cx">   local n=&quot;Twisted&quot;;
</span><span class="cx">   local p=&quot;${n}-${v}&quot;;
</span><span class="lines">@@ -828,6 +863,13 @@
</span><span class="cx">     &quot;${n}&quot; &quot;twisted&quot; &quot;${p}&quot; \
</span><span class="cx">     &quot;${pypi}/T/${n}/${p}.tar.bz2&quot;;
</span><span class="cx"> 
</span><ins>+  local v=&quot;12078&quot;;
+  local n=&quot;twext&quot;;
+  local p=&quot;${n}-${v}&quot;;
+  py_dependency -fe -r &quot;${v}&quot; \
+    &quot;${n}&quot; &quot;${n}&quot; &quot;${p}&quot; \
+    &quot;${svn_uri_base}/${n}/trunk&quot;;
+
</ins><span class="cx">   local v=&quot;1.5&quot;;
</span><span class="cx">   local n=&quot;python-dateutil&quot;;
</span><span class="cx">   local p=&quot;${n}-${v}&quot;;
</span><span class="lines">@@ -849,23 +891,26 @@
</span><span class="cx">     &quot;Python-LDAP&quot; &quot;ldap&quot; &quot;${p}&quot; \
</span><span class="cx">     &quot;${pypi}/p/${n}/${p}.tar.gz&quot;;
</span><span class="cx"> 
</span><del>-  # XXX actually PyCalendar should be imported in-place.
-  py_dependency -fe -i &quot;src&quot; -r 11947 \
-    &quot;PyCalendar&quot; &quot;pycalendar&quot; &quot;pycalendar&quot; \
-    &quot;${svn_uri_base}/PyCalendar/trunk&quot;;
</del><ins>+  local v=&quot;11947&quot;;
+  local n=&quot;PyCalendar&quot;;
+  local p=&quot;${n}-${v}&quot;;
+  py_dependency -fe -i &quot;src&quot; -r &quot;${v}&quot; \
+    &quot;${n}&quot; &quot;pycalendar&quot; &quot;${p}&quot; \
+    &quot;${svn_uri_base}/${n}/trunk&quot;;
</ins><span class="cx"> 
</span><ins>+  # Can't add &quot;-v 2011g&quot; to args because the version check expects numbers.
+  local v=&quot;2013.8&quot;;
+  local n=&quot;pytz&quot;;
+  local p=&quot;${n}-${v}&quot;;
+  py_dependency -m &quot;37750ca749ed3a52523b9682b0b7e381&quot; \
+    &quot;${n}&quot; &quot;${n}&quot; &quot;${p}&quot; \
+    &quot;${pypi}/p/${n}/${p}.tar.gz&quot;;
+
</ins><span class="cx">   #
</span><span class="cx">   # Tool dependencies.  The code itself doesn't depend on these, but
</span><span class="cx">   # they are useful to developers.
</span><span class="cx">   #
</span><span class="cx"> 
</span><del>-  local v=&quot;0.1.2&quot;;
-  local n=&quot;sqlparse&quot;;
-  local p=&quot;${n}-${v}&quot;;
-  py_dependency -v &quot;${v}&quot; -s &quot;978874e5ebbd78e6d419e8182ce4fb3c30379642&quot; \
-    &quot;SQLParse&quot; &quot;${n}&quot; &quot;${p}&quot; \
-    &quot;http://python-sqlparse.googlecode.com/files/${p}.tar.gz&quot;;
-
</del><span class="cx">   if type -P pyflakes &gt; /dev/null; then
</span><span class="cx">     using_system &quot;PyFlakes&quot;;
</span><span class="cx">   else
</span><span class="lines">@@ -877,32 +922,13 @@
</span><span class="cx">       &quot;${pypi}/p/${n}/${p}.tar.gz&quot;;
</span><span class="cx">   fi;
</span><span class="cx">  
</span><del>-  py_dependency -o -r HEAD \
-    &quot;CalDAVClientLibrary&quot; &quot;caldavclientlibrary&quot; &quot;CalDAVClientLibrary&quot; \
-    &quot;${svn_uri_base}/CalDAVClientLibrary/trunk&quot;;
-
-  # Can't add &quot;-v 2011g&quot; to args because the version check expects numbers.
-  local v=&quot;2013.8&quot;;
-  local n=&quot;pytz&quot;;
</del><ins>+  local v=&quot;12068&quot;;
+  local n=&quot;CalDAVClientLibrary&quot;;
</ins><span class="cx">   local p=&quot;${n}-${v}&quot;;
</span><del>-  py_dependency -m &quot;37750ca749ed3a52523b9682b0b7e381&quot; \
-    &quot;${n}&quot; &quot;${n}&quot; &quot;${p}&quot; \
-    &quot;${pypi}/p/${n}/${p}.tar.gz&quot;;
</del><ins>+  py_dependency -o -r &quot;${v}&quot; \
+    &quot;${n}&quot; &quot;caldavclientlibrary&quot; &quot;${p}&quot; \
+    &quot;${svn_uri_base}/${n}/trunk&quot;;
</ins><span class="cx"> 
</span><del>-  local v=&quot;2.6.1&quot;;
-  local n=&quot;pycrypto&quot;;
-  local p=&quot;${n}-${v}&quot;;
-  py_dependency -v &quot;${v}&quot; -m &quot;55a61a054aa66812daf5161a0d5d7eda&quot; \
-    &quot;PyCrypto&quot; &quot;${n}&quot; &quot;${p}&quot; \
-    &quot;http://ftp.dlitz.net/pub/dlitz/crypto/${n}/${p}.tar.gz&quot;;
-
-  local v=&quot;0.1.7&quot;;
-  local n=&quot;pyasn1&quot;;
-  local p=&quot;${n}-${v}&quot;;
-  py_dependency -v &quot;${v}&quot; -m &quot;2cbd80fcd4c7b1c82180d3d76fee18c8&quot; \
-    &quot;${n}&quot; &quot;${n}&quot; &quot;${p}&quot; \
-    &quot;${pypi}/p/${n}/${p}.tar.gz&quot;;
-
</del><span class="cx">   local v=&quot;1.1.8&quot;;
</span><span class="cx">   local n=&quot;setproctitle&quot;;
</span><span class="cx">   local p=&quot;${n}-${v}&quot;;
</span><span class="lines">@@ -910,20 +936,6 @@
</span><span class="cx">     &quot;${n}&quot; &quot;${n}&quot; &quot;${p}&quot; \
</span><span class="cx">     &quot;${pypi}/s/${n}/${p}.tar.gz&quot;;
</span><span class="cx"> 
</span><del>-  local v=&quot;0.6&quot;;
-  local n=&quot;cffi&quot;;
-  local p=&quot;${n}-${v}&quot;;
-  py_dependency -v &quot;0.6&quot; -m &quot;5be33b1ab0247a984d42b27344519337&quot; \
-    &quot;${n}&quot; &quot;${n}&quot; &quot;${p}&quot; \
-    &quot;${pypi}/c/${n}/${p}.tar.gz&quot;;
-
-  local v=&quot;2.10&quot;;
-  local n=&quot;pycparser&quot;;
-  local p=&quot;${n}-${v}&quot;;
-  py_dependency -v &quot;0.6&quot; -m &quot;d87aed98c8a9f386aa56d365fe4d515f&quot; \
-    &quot;${n}&quot; &quot;${n}&quot; &quot;${p}&quot; \
-    &quot;${pypi}/p/${n}/${p}.tar.gz&quot;;
-
</del><span class="cx">   svn_get &quot;CalDAVTester&quot; &quot;${top}/CalDAVTester&quot; \
</span><span class="cx">       &quot;${svn_uri_base}/CalDAVTester/trunk&quot; HEAD;
</span><span class="cx"> 
</span></span></pre></div>
<a id="CalendarServertrunktest"></a>
<div class="modfile"><h4>Modified: CalendarServer/trunk/test (12078 => 12079)</h4>
<pre class="diff"><span>
<span class="info">--- CalendarServer/trunk/test        2013-12-13 02:28:15 UTC (rev 12078)
+++ CalendarServer/trunk/test        2013-12-13 03:00:35 UTC (rev 12079)
</span><span class="lines">@@ -80,7 +80,7 @@
</span><span class="cx">   test_modules=&quot;$@&quot;;
</span><span class="cx">   flaky=true;
</span><span class="cx"> else
</span><del>-  test_modules=&quot;calendarserver twistedcaldav twext txdav contrib ${m_twisted}&quot;;
</del><ins>+  test_modules=&quot;calendarserver twistedcaldav txdav contrib ${m_twisted}&quot;;
</ins><span class="cx">   flaky=true;
</span><span class="cx"> fi;
</span><span class="cx"> 
</span></span></pre>
</div>
</div>

</body>
</html>