[Checkins] SVN: hurry.query/trunk/ improve setup.py and prepare for a new release.

Paul Carduner paulcarduner at gmail.com
Mon Sep 29 13:30:42 EDT 2008


Log message for revision 91617:
  improve setup.py and prepare for a new release.

Changed:
  U   hurry.query/trunk/CHANGES.txt
  U   hurry.query/trunk/setup.py

-=-
Modified: hurry.query/trunk/CHANGES.txt
===================================================================
--- hurry.query/trunk/CHANGES.txt	2008-09-29 17:21:14 UTC (rev 91616)
+++ hurry.query/trunk/CHANGES.txt	2008-09-29 17:30:41 UTC (rev 91617)
@@ -1,7 +1,7 @@
 hurry.query changes
 ===================
 
-0.9.3 (unreleased)
+0.9.3 (2008-09-29)
 ------------------
 
 * BUG: NotEq query no longer fails when all values in the index

Modified: hurry.query/trunk/setup.py
===================================================================
--- hurry.query/trunk/setup.py	2008-09-29 17:21:14 UTC (rev 91616)
+++ hurry.query/trunk/setup.py	2008-09-29 17:30:41 UTC (rev 91617)
@@ -1,26 +1,60 @@
+##############################################################################
+#
+# Copyright (c) 2007 Zope Foundation and Contributors.
+# All Rights Reserved.
+#
+# This software is subject to the provisions of the Zope Public License,
+# Version 2.1 (ZPL).  A copy of the ZPL should accompany this distribution.
+# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
+# WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+# WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
+# FOR A PARTICULAR PURPOSE.
+#
+##############################################################################
+"""Setup
+
+$Id: setup.py 91011 2008-09-09 22:01:02Z malthe $
+"""
+import os
 from setuptools import setup, find_packages
 
+def read(*rnames):
+    text = open(os.path.join(os.path.dirname(__file__), *rnames)).read()
+    text = unicode(text, 'utf-8').encode('ascii', 'xmlcharrefreplace')
+    return text
+
 setup(
     name="hurry.query",
-    version="0.9.4dev",
+    version="0.9.3",
+    author='Infrae',
+    author_email='faassen at startifact.com',
+    description="""\
+hurry.query is a higher level query system built on top of the Zope 3
+catalogs. It makes it easy to perform catalog queries in Zope 3 code.
+""",
+    long_description=read('src','hurry','query','query.txt'),
+    license='ZPL 2.1',
+    keywords="zope zope3 query",
+    classifiers = [
+        'Development Status :: 5 - Production/Stable',
+        'Environment :: Web Environment',
+        'Intended Audience :: Developers',
+        'License :: OSI Approved :: Zope Public License',
+        'Programming Language :: Python',
+        'Natural Language :: English',
+        'Operating System :: OS Independent',
+        'Topic :: Internet :: WWW/HTTP',
+        'Framework :: Zope3'],
+    url = 'http://pypi.python.org/pypi/hurry.query',
     packages=find_packages('src'),
     package_dir= {'':'src'},
-    
+
     namespace_packages=['hurry'],
     package_data = {
     '': ['*.txt', '*.zcml'],
     },
 
     zip_safe=False,
-    author='Infrae',
-    author_email='faassen at startifact.com',
-    description="""\
-hurry.query is a higher level query system built on top of the Zope 3
-catalog. It makes it easy to perform catalog queries in Zope 3 code.
-""",
-    license='ZPL 2.1',
-    keywords="zope zope3",
-    classifiers = ['Framework :: Zope3'],
     install_requires=[
     'zc.catalog >= 0.1.1',
     'setuptools'],



More information about the Checkins mailing list