<!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>[13407] 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/13407">13407</a></dd>
<dt>Author</dt> <dd>wsanchez@apple.com</dd>
<dt>Date</dt> <dd>2014-05-02 11:42:58 -0700 (Fri, 02 May 2014)</dd>
</dl>

<h3>Log Message</h3>
<pre>Use entry points to make scripts</pre>

<h3>Modified Paths</h3>
<ul>
<li><a href="#CalendarServertrunkbindevelop">CalendarServer/trunk/bin/develop</a></li>
<li><a href="#CalendarServertrunksetuppy">CalendarServer/trunk/setup.py</a></li>
</ul>

<h3>Removed Paths</h3>
<ul>
<li><a href="#CalendarServertrunkbincalendarserver_check_database_schema">CalendarServer/trunk/bin/calendarserver_check_database_schema</a></li>
<li><a href="#CalendarServertrunkbincalendarserver_command_gateway">CalendarServer/trunk/bin/calendarserver_command_gateway</a></li>
<li><a href="#CalendarServertrunkbincalendarserver_config">CalendarServer/trunk/bin/calendarserver_config</a></li>
<li><a href="#CalendarServertrunkbincalendarserver_dashboard">CalendarServer/trunk/bin/calendarserver_dashboard</a></li>
<li><a href="#CalendarServertrunkbincalendarserver_dbinspect">CalendarServer/trunk/bin/calendarserver_dbinspect</a></li>
<li><a href="#CalendarServertrunkbincalendarserver_dkimtool">CalendarServer/trunk/bin/calendarserver_dkimtool</a></li>
<li><a href="#CalendarServertrunkbincalendarserver_export">CalendarServer/trunk/bin/calendarserver_export</a></li>
<li><a href="#CalendarServertrunkbincalendarserver_icalendar_validate">CalendarServer/trunk/bin/calendarserver_icalendar_validate</a></li>
<li><a href="#CalendarServertrunkbincalendarserver_manage_principals">CalendarServer/trunk/bin/calendarserver_manage_principals</a></li>
<li><a href="#CalendarServertrunkbincalendarserver_manage_push">CalendarServer/trunk/bin/calendarserver_manage_push</a></li>
<li><a href="#CalendarServertrunkbincalendarserver_manage_timezones">CalendarServer/trunk/bin/calendarserver_manage_timezones</a></li>
<li><a href="#CalendarServertrunkbincalendarserver_migrate_resources">CalendarServer/trunk/bin/calendarserver_migrate_resources</a></li>
<li><a href="#CalendarServertrunkbincalendarserver_monitor_amp_notifications">CalendarServer/trunk/bin/calendarserver_monitor_amp_notifications</a></li>
<li><a href="#CalendarServertrunkbincalendarserver_monitor_notifications">CalendarServer/trunk/bin/calendarserver_monitor_notifications</a></li>
<li><a href="#CalendarServertrunkbincalendarserver_monitor_work">CalendarServer/trunk/bin/calendarserver_monitor_work</a></li>
<li><a href="#CalendarServertrunkbincalendarserver_purge_attachments">CalendarServer/trunk/bin/calendarserver_purge_attachments</a></li>
<li><a href="#CalendarServertrunkbincalendarserver_purge_events">CalendarServer/trunk/bin/calendarserver_purge_events</a></li>
<li><a href="#CalendarServertrunkbincalendarserver_purge_principals">CalendarServer/trunk/bin/calendarserver_purge_principals</a></li>
<li><a href="#CalendarServertrunkbincalendarserver_shell">CalendarServer/trunk/bin/calendarserver_shell</a></li>
<li><a href="#CalendarServertrunkbincalendarserver_upgrade">CalendarServer/trunk/bin/calendarserver_upgrade</a></li>
<li><a href="#CalendarServertrunkbincalendarserver_verify_data">CalendarServer/trunk/bin/calendarserver_verify_data</a></li>
<li>CalendarServer/trunk/bin/py/</li>
</ul>

<h3>Property Changed</h3>
<ul>
<li><a href="#CalendarServertrunkbin">CalendarServer/trunk/bin/</a></li>
</ul>

</div>
<div id="patch">
<h3>Diff</h3>
<a id="CalendarServertrunkbin"></a>
<div class="propset"><h4>Property changes: CalendarServer/trunk/bin</h4>
<pre class="diff"><span>
</span></pre></div>
<a id="svnignore"></a>
<div class="modfile"><h4>Modified: svn:ignore</h4></div>
<span class="cx">   + calendarserver_*
</span><a id="CalendarServertrunkbincalendarserver_check_database_schema"></a>
<div class="delfile"><h4>Deleted: CalendarServer/trunk/bin/calendarserver_check_database_schema (13406 => 13407)</h4>
<pre class="diff"><span>
<span class="info">--- CalendarServer/trunk/bin/calendarserver_check_database_schema        2014-05-02 17:24:14 UTC (rev 13406)
+++ CalendarServer/trunk/bin/calendarserver_check_database_schema        2014-05-02 18:42:58 UTC (rev 13407)
</span><span class="lines">@@ -1,31 +0,0 @@
</span><del>-#!/bin/sh
-# -*- sh-basic-offset: 2 -*-
-
-##
-# Copyright (c) 2014 Apple Inc. All rights reserved.
-#
-# Licensed under the Apache License, Version 2.0 (the &quot;License&quot;);
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-#     http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an &quot;AS IS&quot; BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-##
-
-set -e
-set -u
-
-wd=&quot;$(cd &quot;$(dirname &quot;$0&quot;)/..&quot; &amp;&amp; pwd)&quot;;
-
-. &quot;${wd}/bin/_build.sh&quot;;
-
-do_setup=&quot;false&quot;;
-
-develop &gt; /dev/null;
-
-exec &quot;${python}&quot; &quot;${wd}/bin/py/$(basename &quot;$0&quot;)&quot; -f &quot;${wd}/conf/caldavd-dev.plist&quot; &quot;$@&quot;;
</del></span></pre></div>
<a id="CalendarServertrunkbincalendarserver_command_gateway"></a>
<div class="delfile"><h4>Deleted: CalendarServer/trunk/bin/calendarserver_command_gateway (13406 => 13407)</h4>
<pre class="diff"><span>
<span class="info">--- CalendarServer/trunk/bin/calendarserver_command_gateway        2014-05-02 17:24:14 UTC (rev 13406)
+++ CalendarServer/trunk/bin/calendarserver_command_gateway        2014-05-02 18:42:58 UTC (rev 13407)
</span><span class="lines">@@ -1,31 +0,0 @@
</span><del>-#!/bin/sh
-# -*- sh-basic-offset: 2 -*-
-
-##
-# Copyright (c) 2014 Apple Inc. All rights reserved.
-#
-# Licensed under the Apache License, Version 2.0 (the &quot;License&quot;);
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-#     http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an &quot;AS IS&quot; BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-##
-
-set -e
-set -u
-
-wd=&quot;$(cd &quot;$(dirname &quot;$0&quot;)/..&quot; &amp;&amp; pwd)&quot;;
-
-. &quot;${wd}/bin/_build.sh&quot;;
-
-do_setup=&quot;false&quot;;
-
-develop &gt; /dev/null;
-
-exec &quot;${python}&quot; &quot;${wd}/bin/py/$(basename &quot;$0&quot;)&quot; -f &quot;${wd}/conf/caldavd-dev.plist&quot; &quot;$@&quot;;
</del></span></pre></div>
<a id="CalendarServertrunkbincalendarserver_config"></a>
<div class="delfile"><h4>Deleted: CalendarServer/trunk/bin/calendarserver_config (13406 => 13407)</h4>
<pre class="diff"><span>
<span class="info">--- CalendarServer/trunk/bin/calendarserver_config        2014-05-02 17:24:14 UTC (rev 13406)
+++ CalendarServer/trunk/bin/calendarserver_config        2014-05-02 18:42:58 UTC (rev 13407)
</span><span class="lines">@@ -1,31 +0,0 @@
</span><del>-#!/bin/sh
-# -*- sh-basic-offset: 2 -*-
-
-##
-# Copyright (c) 2014 Apple Inc. All rights reserved.
-#
-# Licensed under the Apache License, Version 2.0 (the &quot;License&quot;);
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-#     http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an &quot;AS IS&quot; BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-##
-
-set -e
-set -u
-
-wd=&quot;$(cd &quot;$(dirname &quot;$0&quot;)/..&quot; &amp;&amp; pwd)&quot;;
-
-. &quot;${wd}/bin/_build.sh&quot;;
-
-do_setup=&quot;false&quot;;
-
-develop &gt; /dev/null;
-
-exec &quot;${python}&quot; &quot;${wd}/bin/py/$(basename &quot;$0&quot;)&quot; -f &quot;${wd}/conf/caldavd-dev.plist&quot; &quot;$@&quot;;
</del></span></pre></div>
<a id="CalendarServertrunkbincalendarserver_dashboard"></a>
<div class="delfile"><h4>Deleted: CalendarServer/trunk/bin/calendarserver_dashboard (13406 => 13407)</h4>
<pre class="diff"><span>
<span class="info">--- CalendarServer/trunk/bin/calendarserver_dashboard        2014-05-02 17:24:14 UTC (rev 13406)
+++ CalendarServer/trunk/bin/calendarserver_dashboard        2014-05-02 18:42:58 UTC (rev 13407)
</span><span class="lines">@@ -1,31 +0,0 @@
</span><del>-#!/bin/sh
-# -*- sh-basic-offset: 2 -*-
-
-##
-# Copyright (c) 2014 Apple Inc. All rights reserved.
-#
-# Licensed under the Apache License, Version 2.0 (the &quot;License&quot;);
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-#     http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an &quot;AS IS&quot; BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-##
-
-set -e
-set -u
-
-wd=&quot;$(cd &quot;$(dirname &quot;$0&quot;)/..&quot; &amp;&amp; pwd)&quot;;
-
-. &quot;${wd}/bin/_build.sh&quot;;
-
-do_setup=&quot;false&quot;;
-
-develop &gt; /dev/null;
-
-exec &quot;${python}&quot; &quot;${wd}/bin/py/$(basename &quot;$0&quot;)&quot; -f &quot;${wd}/conf/caldavd-dev.plist&quot; &quot;$@&quot;;
</del></span></pre></div>
<a id="CalendarServertrunkbincalendarserver_dbinspect"></a>
<div class="delfile"><h4>Deleted: CalendarServer/trunk/bin/calendarserver_dbinspect (13406 => 13407)</h4>
<pre class="diff"><span>
<span class="info">--- CalendarServer/trunk/bin/calendarserver_dbinspect        2014-05-02 17:24:14 UTC (rev 13406)
+++ CalendarServer/trunk/bin/calendarserver_dbinspect        2014-05-02 18:42:58 UTC (rev 13407)
</span><span class="lines">@@ -1,31 +0,0 @@
</span><del>-#!/bin/sh
-# -*- sh-basic-offset: 2 -*-
-
-##
-# Copyright (c) 2014 Apple Inc. All rights reserved.
-#
-# Licensed under the Apache License, Version 2.0 (the &quot;License&quot;);
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-#     http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an &quot;AS IS&quot; BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-##
-
-set -e
-set -u
-
-wd=&quot;$(cd &quot;$(dirname &quot;$0&quot;)/..&quot; &amp;&amp; pwd)&quot;;
-
-. &quot;${wd}/bin/_build.sh&quot;;
-
-do_setup=&quot;false&quot;;
-
-develop &gt; /dev/null;
-
-exec &quot;${python}&quot; &quot;${wd}/bin/py/$(basename &quot;$0&quot;)&quot; -f &quot;${wd}/conf/caldavd-dev.plist&quot; &quot;$@&quot;;
</del></span></pre></div>
<a id="CalendarServertrunkbincalendarserver_dkimtool"></a>
<div class="delfile"><h4>Deleted: CalendarServer/trunk/bin/calendarserver_dkimtool (13406 => 13407)</h4>
<pre class="diff"><span>
<span class="info">--- CalendarServer/trunk/bin/calendarserver_dkimtool        2014-05-02 17:24:14 UTC (rev 13406)
+++ CalendarServer/trunk/bin/calendarserver_dkimtool        2014-05-02 18:42:58 UTC (rev 13407)
</span><span class="lines">@@ -1,31 +0,0 @@
</span><del>-#!/bin/sh
-# -*- sh-basic-offset: 2 -*-
-
-##
-# Copyright (c) 2014 Apple Inc. All rights reserved.
-#
-# Licensed under the Apache License, Version 2.0 (the &quot;License&quot;);
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-#     http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an &quot;AS IS&quot; BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-##
-
-set -e
-set -u
-
-wd=&quot;$(cd &quot;$(dirname &quot;$0&quot;)/..&quot; &amp;&amp; pwd)&quot;;
-
-. &quot;${wd}/bin/_build.sh&quot;;
-
-do_setup=&quot;false&quot;;
-
-develop &gt; /dev/null;
-
-exec &quot;${python}&quot; &quot;${wd}/bin/py/$(basename &quot;$0&quot;)&quot; -f &quot;${wd}/conf/caldavd-dev.plist&quot; &quot;$@&quot;;
</del></span></pre></div>
<a id="CalendarServertrunkbincalendarserver_export"></a>
<div class="delfile"><h4>Deleted: CalendarServer/trunk/bin/calendarserver_export (13406 => 13407)</h4>
<pre class="diff"><span>
<span class="info">--- CalendarServer/trunk/bin/calendarserver_export        2014-05-02 17:24:14 UTC (rev 13406)
+++ CalendarServer/trunk/bin/calendarserver_export        2014-05-02 18:42:58 UTC (rev 13407)
</span><span class="lines">@@ -1,31 +0,0 @@
</span><del>-#!/bin/sh
-# -*- sh-basic-offset: 2 -*-
-
-##
-# Copyright (c) 2014 Apple Inc. All rights reserved.
-#
-# Licensed under the Apache License, Version 2.0 (the &quot;License&quot;);
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-#     http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an &quot;AS IS&quot; BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-##
-
-set -e
-set -u
-
-wd=&quot;$(cd &quot;$(dirname &quot;$0&quot;)/..&quot; &amp;&amp; pwd)&quot;;
-
-. &quot;${wd}/bin/_build.sh&quot;;
-
-do_setup=&quot;false&quot;;
-
-develop &gt; /dev/null;
-
-exec &quot;${python}&quot; &quot;${wd}/bin/py/$(basename &quot;$0&quot;)&quot; -f &quot;${wd}/conf/caldavd-dev.plist&quot; &quot;$@&quot;;
</del></span></pre></div>
<a id="CalendarServertrunkbincalendarserver_icalendar_validate"></a>
<div class="delfile"><h4>Deleted: CalendarServer/trunk/bin/calendarserver_icalendar_validate (13406 => 13407)</h4>
<pre class="diff"><span>
<span class="info">--- CalendarServer/trunk/bin/calendarserver_icalendar_validate        2014-05-02 17:24:14 UTC (rev 13406)
+++ CalendarServer/trunk/bin/calendarserver_icalendar_validate        2014-05-02 18:42:58 UTC (rev 13407)
</span><span class="lines">@@ -1,31 +0,0 @@
</span><del>-#!/bin/sh
-# -*- sh-basic-offset: 2 -*-
-
-##
-# Copyright (c) 2014 Apple Inc. All rights reserved.
-#
-# Licensed under the Apache License, Version 2.0 (the &quot;License&quot;);
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-#     http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an &quot;AS IS&quot; BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-##
-
-set -e
-set -u
-
-wd=&quot;$(cd &quot;$(dirname &quot;$0&quot;)/..&quot; &amp;&amp; pwd)&quot;;
-
-. &quot;${wd}/bin/_build.sh&quot;;
-
-do_setup=&quot;false&quot;;
-
-develop &gt; /dev/null;
-
-exec &quot;${python}&quot; &quot;${wd}/bin/py/$(basename &quot;$0&quot;)&quot; -f &quot;${wd}/conf/caldavd-dev.plist&quot; &quot;$@&quot;;
</del></span></pre></div>
<a id="CalendarServertrunkbincalendarserver_manage_principals"></a>
<div class="delfile"><h4>Deleted: CalendarServer/trunk/bin/calendarserver_manage_principals (13406 => 13407)</h4>
<pre class="diff"><span>
<span class="info">--- CalendarServer/trunk/bin/calendarserver_manage_principals        2014-05-02 17:24:14 UTC (rev 13406)
+++ CalendarServer/trunk/bin/calendarserver_manage_principals        2014-05-02 18:42:58 UTC (rev 13407)
</span><span class="lines">@@ -1,31 +0,0 @@
</span><del>-#!/bin/sh
-# -*- sh-basic-offset: 2 -*-
-
-##
-# Copyright (c) 2014 Apple Inc. All rights reserved.
-#
-# Licensed under the Apache License, Version 2.0 (the &quot;License&quot;);
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-#     http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an &quot;AS IS&quot; BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-##
-
-set -e
-set -u
-
-wd=&quot;$(cd &quot;$(dirname &quot;$0&quot;)/..&quot; &amp;&amp; pwd)&quot;;
-
-. &quot;${wd}/bin/_build.sh&quot;;
-
-do_setup=&quot;false&quot;;
-
-develop &gt; /dev/null;
-
-exec &quot;${python}&quot; &quot;${wd}/bin/py/$(basename &quot;$0&quot;)&quot; -f &quot;${wd}/conf/caldavd-dev.plist&quot; &quot;$@&quot;;
</del></span></pre></div>
<a id="CalendarServertrunkbincalendarserver_manage_push"></a>
<div class="delfile"><h4>Deleted: CalendarServer/trunk/bin/calendarserver_manage_push (13406 => 13407)</h4>
<pre class="diff"><span>
<span class="info">--- CalendarServer/trunk/bin/calendarserver_manage_push        2014-05-02 17:24:14 UTC (rev 13406)
+++ CalendarServer/trunk/bin/calendarserver_manage_push        2014-05-02 18:42:58 UTC (rev 13407)
</span><span class="lines">@@ -1,31 +0,0 @@
</span><del>-#!/bin/sh
-# -*- sh-basic-offset: 2 -*-
-
-##
-# Copyright (c) 2014 Apple Inc. All rights reserved.
-#
-# Licensed under the Apache License, Version 2.0 (the &quot;License&quot;);
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-#     http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an &quot;AS IS&quot; BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-##
-
-set -e
-set -u
-
-wd=&quot;$(cd &quot;$(dirname &quot;$0&quot;)/..&quot; &amp;&amp; pwd)&quot;;
-
-. &quot;${wd}/bin/_build.sh&quot;;
-
-do_setup=&quot;false&quot;;
-
-develop &gt; /dev/null;
-
-exec &quot;${python}&quot; &quot;${wd}/bin/py/$(basename &quot;$0&quot;)&quot; -f &quot;${wd}/conf/caldavd-dev.plist&quot; &quot;$@&quot;;
</del></span></pre></div>
<a id="CalendarServertrunkbincalendarserver_manage_timezones"></a>
<div class="delfile"><h4>Deleted: CalendarServer/trunk/bin/calendarserver_manage_timezones (13406 => 13407)</h4>
<pre class="diff"><span>
<span class="info">--- CalendarServer/trunk/bin/calendarserver_manage_timezones        2014-05-02 17:24:14 UTC (rev 13406)
+++ CalendarServer/trunk/bin/calendarserver_manage_timezones        2014-05-02 18:42:58 UTC (rev 13407)
</span><span class="lines">@@ -1,31 +0,0 @@
</span><del>-#!/bin/sh
-# -*- sh-basic-offset: 2 -*-
-
-##
-# Copyright (c) 2014 Apple Inc. All rights reserved.
-#
-# Licensed under the Apache License, Version 2.0 (the &quot;License&quot;);
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-#     http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an &quot;AS IS&quot; BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-##
-
-set -e
-set -u
-
-wd=&quot;$(cd &quot;$(dirname &quot;$0&quot;)/..&quot; &amp;&amp; pwd)&quot;;
-
-. &quot;${wd}/bin/_build.sh&quot;;
-
-do_setup=&quot;false&quot;;
-
-develop &gt; /dev/null;
-
-exec &quot;${python}&quot; &quot;${wd}/bin/py/$(basename &quot;$0&quot;)&quot; -f &quot;${wd}/conf/caldavd-dev.plist&quot; &quot;$@&quot;;
</del></span></pre></div>
<a id="CalendarServertrunkbincalendarserver_migrate_resources"></a>
<div class="delfile"><h4>Deleted: CalendarServer/trunk/bin/calendarserver_migrate_resources (13406 => 13407)</h4>
<pre class="diff"><span>
<span class="info">--- CalendarServer/trunk/bin/calendarserver_migrate_resources        2014-05-02 17:24:14 UTC (rev 13406)
+++ CalendarServer/trunk/bin/calendarserver_migrate_resources        2014-05-02 18:42:58 UTC (rev 13407)
</span><span class="lines">@@ -1,31 +0,0 @@
</span><del>-#!/bin/sh
-# -*- sh-basic-offset: 2 -*-
-
-##
-# Copyright (c) 2014 Apple Inc. All rights reserved.
-#
-# Licensed under the Apache License, Version 2.0 (the &quot;License&quot;);
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-#     http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an &quot;AS IS&quot; BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-##
-
-set -e
-set -u
-
-wd=&quot;$(cd &quot;$(dirname &quot;$0&quot;)/..&quot; &amp;&amp; pwd)&quot;;
-
-. &quot;${wd}/bin/_build.sh&quot;;
-
-do_setup=&quot;false&quot;;
-
-develop &gt; /dev/null;
-
-exec &quot;${python}&quot; &quot;${wd}/bin/py/$(basename &quot;$0&quot;)&quot; -f &quot;${wd}/conf/caldavd-dev.plist&quot; &quot;$@&quot;;
</del></span></pre></div>
<a id="CalendarServertrunkbincalendarserver_monitor_amp_notifications"></a>
<div class="delfile"><h4>Deleted: CalendarServer/trunk/bin/calendarserver_monitor_amp_notifications (13406 => 13407)</h4>
<pre class="diff"><span>
<span class="info">--- CalendarServer/trunk/bin/calendarserver_monitor_amp_notifications        2014-05-02 17:24:14 UTC (rev 13406)
+++ CalendarServer/trunk/bin/calendarserver_monitor_amp_notifications        2014-05-02 18:42:58 UTC (rev 13407)
</span><span class="lines">@@ -1,31 +0,0 @@
</span><del>-#!/bin/sh
-# -*- sh-basic-offset: 2 -*-
-
-##
-# Copyright (c) 2014 Apple Inc. All rights reserved.
-#
-# Licensed under the Apache License, Version 2.0 (the &quot;License&quot;);
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-#     http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an &quot;AS IS&quot; BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-##
-
-set -e
-set -u
-
-wd=&quot;$(cd &quot;$(dirname &quot;$0&quot;)/..&quot; &amp;&amp; pwd)&quot;;
-
-. &quot;${wd}/bin/_build.sh&quot;;
-
-do_setup=&quot;false&quot;;
-
-develop &gt; /dev/null;
-
-exec &quot;${python}&quot; &quot;${wd}/bin/py/$(basename &quot;$0&quot;)&quot; -f &quot;${wd}/conf/caldavd-dev.plist&quot; &quot;$@&quot;;
</del></span></pre></div>
<a id="CalendarServertrunkbincalendarserver_monitor_notifications"></a>
<div class="delfile"><h4>Deleted: CalendarServer/trunk/bin/calendarserver_monitor_notifications (13406 => 13407)</h4>
<pre class="diff"><span>
<span class="info">--- CalendarServer/trunk/bin/calendarserver_monitor_notifications        2014-05-02 17:24:14 UTC (rev 13406)
+++ CalendarServer/trunk/bin/calendarserver_monitor_notifications        2014-05-02 18:42:58 UTC (rev 13407)
</span><span class="lines">@@ -1,31 +0,0 @@
</span><del>-#!/bin/sh
-# -*- sh-basic-offset: 2 -*-
-
-##
-# Copyright (c) 2014 Apple Inc. All rights reserved.
-#
-# Licensed under the Apache License, Version 2.0 (the &quot;License&quot;);
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-#     http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an &quot;AS IS&quot; BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-##
-
-set -e
-set -u
-
-wd=&quot;$(cd &quot;$(dirname &quot;$0&quot;)/..&quot; &amp;&amp; pwd)&quot;;
-
-. &quot;${wd}/bin/_build.sh&quot;;
-
-do_setup=&quot;false&quot;;
-
-develop &gt; /dev/null;
-
-exec &quot;${python}&quot; &quot;${wd}/bin/py/$(basename &quot;$0&quot;)&quot; -f &quot;${wd}/conf/caldavd-dev.plist&quot; &quot;$@&quot;;
</del></span></pre></div>
<a id="CalendarServertrunkbincalendarserver_monitor_work"></a>
<div class="delfile"><h4>Deleted: CalendarServer/trunk/bin/calendarserver_monitor_work (13406 => 13407)</h4>
<pre class="diff"><span>
<span class="info">--- CalendarServer/trunk/bin/calendarserver_monitor_work        2014-05-02 17:24:14 UTC (rev 13406)
+++ CalendarServer/trunk/bin/calendarserver_monitor_work        2014-05-02 18:42:58 UTC (rev 13407)
</span><span class="lines">@@ -1,31 +0,0 @@
</span><del>-#!/bin/sh
-# -*- sh-basic-offset: 2 -*-
-
-##
-# Copyright (c) 2014 Apple Inc. All rights reserved.
-#
-# Licensed under the Apache License, Version 2.0 (the &quot;License&quot;);
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-#     http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an &quot;AS IS&quot; BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-##
-
-set -e
-set -u
-
-wd=&quot;$(cd &quot;$(dirname &quot;$0&quot;)/..&quot; &amp;&amp; pwd)&quot;;
-
-. &quot;${wd}/bin/_build.sh&quot;;
-
-do_setup=&quot;false&quot;;
-
-develop &gt; /dev/null;
-
-exec &quot;${python}&quot; &quot;${wd}/bin/py/$(basename &quot;$0&quot;)&quot; -f &quot;${wd}/conf/caldavd-dev.plist&quot; &quot;$@&quot;;
</del></span></pre></div>
<a id="CalendarServertrunkbincalendarserver_purge_attachments"></a>
<div class="delfile"><h4>Deleted: CalendarServer/trunk/bin/calendarserver_purge_attachments (13406 => 13407)</h4>
<pre class="diff"><span>
<span class="info">--- CalendarServer/trunk/bin/calendarserver_purge_attachments        2014-05-02 17:24:14 UTC (rev 13406)
+++ CalendarServer/trunk/bin/calendarserver_purge_attachments        2014-05-02 18:42:58 UTC (rev 13407)
</span><span class="lines">@@ -1,31 +0,0 @@
</span><del>-#!/bin/sh
-# -*- sh-basic-offset: 2 -*-
-
-##
-# Copyright (c) 2014 Apple Inc. All rights reserved.
-#
-# Licensed under the Apache License, Version 2.0 (the &quot;License&quot;);
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-#     http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an &quot;AS IS&quot; BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-##
-
-set -e
-set -u
-
-wd=&quot;$(cd &quot;$(dirname &quot;$0&quot;)/..&quot; &amp;&amp; pwd)&quot;;
-
-. &quot;${wd}/bin/_build.sh&quot;;
-
-do_setup=&quot;false&quot;;
-
-develop &gt; /dev/null;
-
-exec &quot;${python}&quot; &quot;${wd}/bin/py/$(basename &quot;$0&quot;)&quot; -f &quot;${wd}/conf/caldavd-dev.plist&quot; &quot;$@&quot;;
</del></span></pre></div>
<a id="CalendarServertrunkbincalendarserver_purge_events"></a>
<div class="delfile"><h4>Deleted: CalendarServer/trunk/bin/calendarserver_purge_events (13406 => 13407)</h4>
<pre class="diff"><span>
<span class="info">--- CalendarServer/trunk/bin/calendarserver_purge_events        2014-05-02 17:24:14 UTC (rev 13406)
+++ CalendarServer/trunk/bin/calendarserver_purge_events        2014-05-02 18:42:58 UTC (rev 13407)
</span><span class="lines">@@ -1,31 +0,0 @@
</span><del>-#!/bin/sh
-# -*- sh-basic-offset: 2 -*-
-
-##
-# Copyright (c) 2014 Apple Inc. All rights reserved.
-#
-# Licensed under the Apache License, Version 2.0 (the &quot;License&quot;);
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-#     http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an &quot;AS IS&quot; BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-##
-
-set -e
-set -u
-
-wd=&quot;$(cd &quot;$(dirname &quot;$0&quot;)/..&quot; &amp;&amp; pwd)&quot;;
-
-. &quot;${wd}/bin/_build.sh&quot;;
-
-do_setup=&quot;false&quot;;
-
-develop &gt; /dev/null;
-
-exec &quot;${python}&quot; &quot;${wd}/bin/py/$(basename &quot;$0&quot;)&quot; -f &quot;${wd}/conf/caldavd-dev.plist&quot; &quot;$@&quot;;
</del></span></pre></div>
<a id="CalendarServertrunkbincalendarserver_purge_principals"></a>
<div class="delfile"><h4>Deleted: CalendarServer/trunk/bin/calendarserver_purge_principals (13406 => 13407)</h4>
<pre class="diff"><span>
<span class="info">--- CalendarServer/trunk/bin/calendarserver_purge_principals        2014-05-02 17:24:14 UTC (rev 13406)
+++ CalendarServer/trunk/bin/calendarserver_purge_principals        2014-05-02 18:42:58 UTC (rev 13407)
</span><span class="lines">@@ -1,31 +0,0 @@
</span><del>-#!/bin/sh
-# -*- sh-basic-offset: 2 -*-
-
-##
-# Copyright (c) 2014 Apple Inc. All rights reserved.
-#
-# Licensed under the Apache License, Version 2.0 (the &quot;License&quot;);
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-#     http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an &quot;AS IS&quot; BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-##
-
-set -e
-set -u
-
-wd=&quot;$(cd &quot;$(dirname &quot;$0&quot;)/..&quot; &amp;&amp; pwd)&quot;;
-
-. &quot;${wd}/bin/_build.sh&quot;;
-
-do_setup=&quot;false&quot;;
-
-develop &gt; /dev/null;
-
-exec &quot;${python}&quot; &quot;${wd}/bin/py/$(basename &quot;$0&quot;)&quot; -f &quot;${wd}/conf/caldavd-dev.plist&quot; &quot;$@&quot;;
</del></span></pre></div>
<a id="CalendarServertrunkbincalendarserver_shell"></a>
<div class="delfile"><h4>Deleted: CalendarServer/trunk/bin/calendarserver_shell (13406 => 13407)</h4>
<pre class="diff"><span>
<span class="info">--- CalendarServer/trunk/bin/calendarserver_shell        2014-05-02 17:24:14 UTC (rev 13406)
+++ CalendarServer/trunk/bin/calendarserver_shell        2014-05-02 18:42:58 UTC (rev 13407)
</span><span class="lines">@@ -1,31 +0,0 @@
</span><del>-#!/bin/sh
-# -*- sh-basic-offset: 2 -*-
-
-##
-# Copyright (c) 2014 Apple Inc. All rights reserved.
-#
-# Licensed under the Apache License, Version 2.0 (the &quot;License&quot;);
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-#     http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an &quot;AS IS&quot; BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-##
-
-set -e
-set -u
-
-wd=&quot;$(cd &quot;$(dirname &quot;$0&quot;)/..&quot; &amp;&amp; pwd)&quot;;
-
-. &quot;${wd}/bin/_build.sh&quot;;
-
-do_setup=&quot;false&quot;;
-
-develop &gt; /dev/null;
-
-exec &quot;${python}&quot; &quot;${wd}/bin/py/$(basename &quot;$0&quot;)&quot; -f &quot;${wd}/conf/caldavd-dev.plist&quot; &quot;$@&quot;;
</del></span></pre></div>
<a id="CalendarServertrunkbincalendarserver_upgrade"></a>
<div class="delfile"><h4>Deleted: CalendarServer/trunk/bin/calendarserver_upgrade (13406 => 13407)</h4>
<pre class="diff"><span>
<span class="info">--- CalendarServer/trunk/bin/calendarserver_upgrade        2014-05-02 17:24:14 UTC (rev 13406)
+++ CalendarServer/trunk/bin/calendarserver_upgrade        2014-05-02 18:42:58 UTC (rev 13407)
</span><span class="lines">@@ -1,31 +0,0 @@
</span><del>-#!/bin/sh
-# -*- sh-basic-offset: 2 -*-
-
-##
-# Copyright (c) 2014 Apple Inc. All rights reserved.
-#
-# Licensed under the Apache License, Version 2.0 (the &quot;License&quot;);
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-#     http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an &quot;AS IS&quot; BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-##
-
-set -e
-set -u
-
-wd=&quot;$(cd &quot;$(dirname &quot;$0&quot;)/..&quot; &amp;&amp; pwd)&quot;;
-
-. &quot;${wd}/bin/_build.sh&quot;;
-
-do_setup=&quot;false&quot;;
-
-develop &gt; /dev/null;
-
-exec &quot;${python}&quot; &quot;${wd}/bin/py/$(basename &quot;$0&quot;)&quot; -f &quot;${wd}/conf/caldavd-dev.plist&quot; &quot;$@&quot;;
</del></span></pre></div>
<a id="CalendarServertrunkbincalendarserver_verify_data"></a>
<div class="delfile"><h4>Deleted: CalendarServer/trunk/bin/calendarserver_verify_data (13406 => 13407)</h4>
<pre class="diff"><span>
<span class="info">--- CalendarServer/trunk/bin/calendarserver_verify_data        2014-05-02 17:24:14 UTC (rev 13406)
+++ CalendarServer/trunk/bin/calendarserver_verify_data        2014-05-02 18:42:58 UTC (rev 13407)
</span><span class="lines">@@ -1,31 +0,0 @@
</span><del>-#!/bin/sh
-# -*- sh-basic-offset: 2 -*-
-
-##
-# Copyright (c) 2014 Apple Inc. All rights reserved.
-#
-# Licensed under the Apache License, Version 2.0 (the &quot;License&quot;);
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-#     http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an &quot;AS IS&quot; BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-##
-
-set -e
-set -u
-
-wd=&quot;$(cd &quot;$(dirname &quot;$0&quot;)/..&quot; &amp;&amp; pwd)&quot;;
-
-. &quot;${wd}/bin/_build.sh&quot;;
-
-do_setup=&quot;false&quot;;
-
-develop &gt; /dev/null;
-
-exec &quot;${python}&quot; &quot;${wd}/bin/py/$(basename &quot;$0&quot;)&quot; -f &quot;${wd}/conf/caldavd-dev.plist&quot; &quot;$@&quot;;
</del></span></pre></div>
<a id="CalendarServertrunkbindevelop"></a>
<div class="modfile"><h4>Modified: CalendarServer/trunk/bin/develop (13406 => 13407)</h4>
<pre class="diff"><span>
<span class="info">--- CalendarServer/trunk/bin/develop        2014-05-02 17:24:14 UTC (rev 13406)
+++ CalendarServer/trunk/bin/develop        2014-05-02 18:42:58 UTC (rev 13407)
</span><span class="lines">@@ -28,10 +28,24 @@
</span><span class="cx"> 
</span><span class="cx"> develop;
</span><span class="cx"> 
</span><ins>+cd ${wd};
+
+
</ins><span class="cx"> #
</span><ins>+# Link to scripts for convenience
+#
+find .develop/virtualenv/bin -type f -name &quot;calendarserver_*&quot; | {
+  while read source; do
+    target=&quot;${wd}/bin/$(basename ${source})&quot;;
+    ln -s &quot;../${source}&quot; &quot;${target}&quot;;
+  done;
+}
+
+
+#
</ins><span class="cx"> # Create a subprojects directory with -e checkouts for convenience.
</span><span class="cx"> #
</span><del>-cd ${wd} &amp;&amp; find .develop/virtualenv/src -maxdepth 1 -mindepth 1 -type d | {
</del><ins>+find .develop/virtualenv/src -depth 1 -type d | {
</ins><span class="cx">   while read source; do
</span><span class="cx">     deps=&quot;${wd}/subprojects&quot;;
</span><span class="cx">     mkdir -p &quot;${deps}&quot;;
</span></span></pre></div>
<a id="CalendarServertrunksetuppy"></a>
<div class="modfile"><h4>Modified: CalendarServer/trunk/setup.py (13406 => 13407)</h4>
<pre class="diff"><span>
<span class="info">--- CalendarServer/trunk/setup.py        2014-05-02 17:24:14 UTC (rev 13406)
+++ CalendarServer/trunk/setup.py        2014-05-02 18:42:58 UTC (rev 13407)
</span><span class="lines">@@ -136,33 +136,81 @@
</span><span class="cx"> #
</span><span class="cx"> 
</span><span class="cx"> entry_points = {
</span><del>-    &quot;console_scripts&quot;: [
-        &quot;calendarserver_check_database_schema = calendarserver.tools.checkdatabaseschema:main&quot;,
-        &quot;calendarserver_command_gateway = calendarserver.tools.gateway:main&quot;,
-        &quot;calendarserver_config = calendarserver.tools.config:main&quot;,
-        &quot;calendarserver_dashboard = calendarserver.tools.dashboard:main&quot;,
-        &quot;calendarserver_dbinspect = calendarserver.tools.dbinspect:main&quot;,
-        &quot;calendarserver_dkimtool = calendarserver.tools.dkimtool:main&quot;,
-        &quot;calendarserver_export = calendarserver.tools.export:main&quot;,
-        &quot;calendarserver_icalendar_validate = calendarserver.tools.validcalendardata:main&quot;,
-        &quot;calendarserver_manage_principals = calendarserver.tools.principals:main&quot;,
-        &quot;calendarserver_manage_push = calendarserver.tools.push:main&quot;,
-        &quot;calendarserver_manage_timezones = calendarserver.tools.managetimezones:main&quot;,
-        &quot;calendarserver_migrate_resources = calendarserver.tools.resources:main&quot;,
-        &quot;calendarserver_monitor_amp_notifications = calendarserver.tools.ampnotifications:main&quot;,
-        &quot;calendarserver_monitor_notifications = calendarserver.tools.notifications:main&quot;,
-        &quot;calendarserver_monitor_work = calendarserver.tools.workitems:main&quot;,
-        &quot;calendarserver_purge_attachments = calendarserver.tools.purge:PurgeAttachmentsService.main&quot;,
-        &quot;calendarserver_purge_events = calendarserver.tools.purge:PurgeOldEventsService.main&quot;,
-        &quot;calendarserver_purge_principals = calendarserver.tools.purge:PurgePrincipalService.main&quot;,
-        &quot;calendarserver_shell = calendarserver.tools.shell.terminal:main&quot;,
-        &quot;calendarserver_upgrade = calendarserver.tools.upgrade:main&quot;,
-        &quot;calendarserver_verify_data = calendarserver.tools.calverify:main&quot;,
-    ],
</del><ins>+    &quot;console_scripts&quot;: [],
</ins><span class="cx"> }
</span><span class="cx"> 
</span><ins>+script_entry_points = {
+    &quot;check_database_schema&quot;:
+    (&quot;calendarserver.tools.checkdatabaseschema&quot;, &quot;main&quot;),
</ins><span class="cx"> 
</span><ins>+    &quot;command_gateway&quot;:
+    (&quot;calendarserver.tools.gateway&quot;, &quot;main&quot;),
</ins><span class="cx"> 
</span><ins>+    &quot;config&quot;:
+    (&quot;calendarserver.tools.config&quot;, &quot;main&quot;),
+
+    &quot;dashboard&quot;:
+    (&quot;calendarserver.tools.dashboard&quot;, &quot;main&quot;),
+
+    &quot;dbinspect&quot;:
+    (&quot;calendarserver.tools.dbinspect&quot;, &quot;main&quot;),
+
+    &quot;dkimtool&quot;:
+    (&quot;calendarserver.tools.dkimtool&quot;, &quot;main&quot;),
+
+    &quot;export&quot;:
+    (&quot;calendarserver.tools.export&quot;, &quot;main&quot;),
+
+    &quot;icalendar_validate&quot;:
+    (&quot;calendarserver.tools.validcalendardata&quot;, &quot;main&quot;),
+
+    &quot;manage_principals&quot;:
+    (&quot;calendarserver.tools.principals&quot;, &quot;main&quot;),
+
+    &quot;manage_push&quot;:
+    (&quot;calendarserver.tools.push&quot;, &quot;main&quot;),
+
+    &quot;manage_timezones&quot;:
+    (&quot;calendarserver.tools.managetimezones&quot;, &quot;main&quot;),
+
+    &quot;migrate_resources&quot;:
+    (&quot;calendarserver.tools.resources&quot;, &quot;main&quot;),
+
+    &quot;monitor_amp_notifications&quot;:
+    (&quot;calendarserver.tools.ampnotifications&quot;, &quot;main&quot;),
+
+    &quot;monitor_notifications&quot;:
+    (&quot;calendarserver.tools.notifications&quot;, &quot;main&quot;),
+
+    &quot;monitor_work&quot;:
+    (&quot;calendarserver.tools.workitems&quot;, &quot;main&quot;),
+
+    &quot;purge_attachments&quot;:
+    (&quot;calendarserver.tools.purge&quot;, &quot;PurgeAttachmentsService.main&quot;),
+
+    &quot;purge_events&quot;:
+    (&quot;calendarserver.tools.purge&quot;, &quot;PurgeOldEventsService.main&quot;),
+
+    &quot;purge_principals&quot;:
+    (&quot;calendarserver.tools.purge&quot;, &quot;PurgePrincipalService.main&quot;),
+
+    &quot;shell&quot;:
+    (&quot;calendarserver.tools.shell.terminal&quot;, &quot;main&quot;),
+
+    &quot;upgrade&quot;:
+    (&quot;calendarserver.tools.upgrade&quot;, &quot;main&quot;),
+
+    &quot;verify_data&quot;:
+    (&quot;calendarserver.tools.calverify&quot;, &quot;main&quot;),
+}
+
+for name, (m, f) in script_entry_points.iteritems():
+    entry_points[&quot;console_scripts&quot;].append(
+        &quot;calendarserver_{} = {}:{}&quot;.format(name, m, f)
+    )
+
+
+
</ins><span class="cx"> #
</span><span class="cx"> # Dependencies
</span><span class="cx"> #
</span><span class="lines">@@ -273,29 +321,9 @@
</span><span class="cx">                 &quot;sql_schema/*/*/*.sql&quot;,
</span><span class="cx">             ],
</span><span class="cx">         },
</span><ins>+        entry_points=entry_points,
</ins><span class="cx">         scripts=[
</span><span class="cx">             &quot;bin/caldavd&quot;,
</span><del>-            # &quot;bin/py/calendarserver_check_database_schema&quot;,
-            &quot;bin/py/calendarserver_command_gateway&quot;,
-            &quot;bin/py/calendarserver_config&quot;,
-            # &quot;bin/py/calendarserver_dashboard&quot;,
-            # &quot;bin/py/calendarserver_dbinspect&quot;,
-            # &quot;bin/py/calendarserver_dkimtool&quot;,
-            &quot;bin/py/calendarserver_export&quot;,
-            # &quot;bin/py/calendarserver_icalendar_validate&quot;,
-            &quot;bin/py/calendarserver_manage_principals&quot;,
-            # &quot;bin/py/calendarserver_manage_push&quot;,
-            # &quot;bin/py/calendarserver_manage_timezones&quot;,
-            &quot;bin/py/calendarserver_migrate_resources&quot;,  # Obsolete this in v7.
-            # &quot;bin/py/calendarserver_monitor_amp_notifications&quot;,
-            # &quot;bin/py/calendarserver_monitor_notifications&quot;,
-            # &quot;bin/py/calendarserver_monitor_work&quot;,
-            &quot;bin/py/calendarserver_purge_attachments&quot;,
-            &quot;bin/py/calendarserver_purge_events&quot;,
-            &quot;bin/py/calendarserver_purge_principals&quot;,
-            &quot;bin/py/calendarserver_shell&quot;,
-            &quot;bin/py/calendarserver_upgrade&quot;,
-            # &quot;bin/py/calendarserver_verify_data&quot;,
</del><span class="cx">         ],
</span><span class="cx">         data_files=[
</span><span class="cx">             (&quot;caldavd&quot;, [&quot;conf/caldavd.plist&quot;]),
</span></span></pre>
</div>
</div>

</body>
</html>