[Checkins] SVN: zc.recipe.deployment/trunk/ Updated release info.

Jim Fulton jim at zope.com
Wed Feb 7 07:18:55 EST 2007


Log message for revision 72422:
  Updated release info.
  

Changed:
  A   zc.recipe.deployment/trunk/README.txt
  U   zc.recipe.deployment/trunk/setup.py

-=-
Added: zc.recipe.deployment/trunk/README.txt
===================================================================
--- zc.recipe.deployment/trunk/README.txt	2007-02-07 12:18:51 UTC (rev 72421)
+++ zc.recipe.deployment/trunk/README.txt	2007-02-07 12:18:54 UTC (rev 72422)
@@ -0,0 +1,50 @@
+***********************
+Unix Deployment Support
+***********************
+
+The zc.recipe.deployment recipe provides support for deploying
+applications with multiple processes on Unix systems. (Perhaps support
+for other systems will be added later.) It creates directories to hold
+application instance configuration, log and run-time files.  It also
+sets or reads options that can be read by other programs to find out
+where to place files:
+
+cron-directory
+    The name of the directory in which cron jobs should be placed.
+    This is /etc/cron.d.
+
+etc-directory
+    The name of the directory where configuration files should be
+    placed.  This is /etc/NAME, where NAME is the deployment
+    name. 
+
+log-directory
+    The name of the directory where application instances should write
+    their log files.  This is /var/log/NAME, where NAME is
+    the deployment name.
+
+run-directory
+    The name of the directory where application instances should put
+    their run-time files such as pid files and inter-process
+    communication socket files.  This is /var/run/NAME, where
+    NAME is the deployment name.
+
+rc-directory
+    The name of the directory where run-control scripts should be
+    installed.  This is /etc/init.d.
+
+The etc, log, and run directories are created in such a way that the 
+directories are owned by the user specified in the user option and are
+writable by the user and the user's group.
+
+Changes
+*******
+
+0.2 (Feb 7, 2007)
+=================
+
+Bugs Fixed
+----------
+
+- Non-empty log and run directories were deleated in un- and
+  re-install.


Property changes on: zc.recipe.deployment/trunk/README.txt
___________________________________________________________________
Name: svn:eol-style
   + native

Modified: zc.recipe.deployment/trunk/setup.py
===================================================================
--- zc.recipe.deployment/trunk/setup.py	2007-02-07 12:18:51 UTC (rev 72421)
+++ zc.recipe.deployment/trunk/setup.py	2007-02-07 12:18:54 UTC (rev 72422)
@@ -1,20 +1,47 @@
 from setuptools import setup, find_packages
 
 name = 'zc.recipe.deployment'
+
+entry_points = '''
+[zc.buildout]
+default=%(name)s:Install
+
+[zc.buildout.uninstall]
+default=%(name)s:uninstall
+
+''' % globals()
+
+def read(*rnames):
+    return open(os.path.join(os.path.dirname(__file__), *rnames)).read()
+
 setup(
     name = name,
-    version = '0.1dev',
+    version = '0.2',
     author = 'Jim Fulton',
     author_email = 'jim at zope.com',
-    description = 'ZC Buildout recipe for deployment configuration',
+    description = 'ZC Buildout recipe for Unix deployments',
     license = 'ZPL 2.1',
-    keywords = 'zope3',
-    url = 'http://svn.zope.org/' + name,
+    keywords = 'deployment build',
+    url = 'http://www.python.org/pypi/' + name,
+    long_description = (
+    read('README.txt')
+    + '\n' +
+    'Detailed Documentation\n'
+    '**********************\n'
+    + '\n' +
+    read('src', 'zc', 'recipe', 'deployment', 'README.txt')
+    + '\n' +
+    'Download\n'
+    '**********************\n'
+    ),
     
     install_requires = ['setuptools'],
-    entry_points = '[zc.buildout]\ndefault=%s:Recipe' % name,
+    extras_require = {'test': 'zc.buildout'},
+    entry_points = entry_points,
     package_dir = {'': 'src'},
     packages = find_packages('src'),
-    namespace_packages = ['zc', 'zc.recipe']
+    namespace_packages = ['zc', 'zc.recipe'],
+    zip_safe = False,
+    include_package_data = True,
     )
 



More information about the Checkins mailing list