Mailing List Archive

SVN: zope.exceptions/trunk/ First pass.
Log message for revision 65891:
First pass.

Changed:
_U zope.exceptions/trunk/
A zope.exceptions/trunk/INSTALL.txt
U zope.exceptions/trunk/setup.py
_U zope.exceptions/trunk/src/
_U zope.exceptions/trunk/src/zope/

-=-

Property changes on: zope.exceptions/trunk
___________________________________________________________________
Name: svn:ignore
+ build
dist


Added: zope.exceptions/trunk/INSTALL.txt
===================================================================
--- zope.exceptions/trunk/INSTALL.txt 2006-03-08 21:58:01 UTC (rev 65890)
+++ zope.exceptions/trunk/INSTALL.txt 2006-03-08 22:08:02 UTC (rev 65891)
@@ -0,0 +1,83 @@
+Installing This Package
+=======================
+
+Prerequisites
+-------------
+
+The installation steps below assume that you have the cool new 'setuptools'
+package installed in your Python. Here is where to get it:
+
+ $ wget http://peak.telecommunity.com/dist/ez_setup.py
+ $ /path/to/your/python ez_setup.py # req. write access to 'site-packages'
+
+
+ - Docs for EasyInstall:
+ http://peak.telecommunity.com/DevCenter/EasyInstall
+
+ - Docs for setuptools:
+ http://peak.telecommunity.com/DevCenter/setuptools
+
+ - Docs for eggs:
+ http://peak.telecommunity.com/DevCenter/PythonEggs
+
+
+Installing a Development Checkout
+---------------------------------
+
+Check out the package from subversion:
+
+ $ svn co svn+ssh://svn.zope.org/repos/main/zope.exceptions/trunk \
+ src/zope.exceptions
+ $ cd src/zope.exceptions
+
+Install it as a "devlopment egg" (which also installs its "hard"
+dependencies):
+
+ $ /path/to/your/python setup.py devel
+
+The installation of dependency eggs uses the 'setup.cfg' file in
+the checkout. You can supply '--find-links' on the command line to
+point it at a non-standard package repository.
+
+
+Running the Tests
+-----------------
+
+To test the package, you will also need the 'zope.testing' package, which
+can't (yet) be automatically installed. Eventually, you should be able to
+type:
+
+ $ /path/to/your/python setup.py test
+
+and have it install the "testing dependencies." Today, the workaround
+is to install it manually:
+
+ $ /path/to/easy_install --find-links="...." zope-testing
+
+You can then run the tests (finally) from the checkout directory:
+
+ $ /path/to/your/python test.py
+ Running:
+ .............
+ Ran 13 tests with 0 failures and 0 errors in 0.094 seconds.
+
+
+Installing a Source Distribution
+--------------------------------
+
+You can also install it from a source distribution:
+
+ $ /path/to/easy_install --find-links="...." -eb src zope-exceptions
+ $ cd src/zope.exceptions
+ $ /path/to/your/python setup.py devel
+
+
+Installing a Binary Egg
+-----------------------
+
+Install the package as a "binary egg" (which also installs its "hard"
+dependencies):
+
+ $ /path/to/easy_install --find-links="...." zope-exceptions
+
+


Property changes on: zope.exceptions/trunk/INSTALL.txt
___________________________________________________________________
Name: svn:eol-style
+ native

Modified: zope.exceptions/trunk/setup.py
===================================================================
--- zope.exceptions/trunk/setup.py 2006-03-08 21:58:01 UTC (rev 65890)
+++ zope.exceptions/trunk/setup.py 2006-03-08 22:08:02 UTC (rev 65891)
@@ -23,27 +23,23 @@
except ImportError, e:
from distutils.core import setup, Extension

-setup(name='zope.XXX',
- version='1.0',
- url='http://svn.zope.org/zope.XXX',
+setup(name='zope.exceptions',
+ version='3.0',
+ url='http://svn.zope.org/zope.exceptions',
license='ZPL 2.1',
- description='XXX',
+ description='exceptions',
author='Zope Corporation and Contributors',
author_email='zope3-dev@zope.org',
long_description='',

- packages=['zope', 'zope.XXX'],
+ packages=['zope', 'zope.exceptions'],
package_dir = {'': os.path.join(os.path.dirname(__file__), 'src')},

-## ext_modules=[Extension("zope.XXX._zope_XXX",
-## [os.path.join('src', 'zope', 'XXX',
-## "_zope_XXX.c")
-## ]),
-## ],
-
namespace_packages=['zope',],
tests_require = ['zope.testing'],
- install_requires=['zope.deprecation'],
+ install_requires=['zope.deprecation',
+ 'zope.interface',
+ ],
include_package_data = True,

zip_safe = False,


Property changes on: zope.exceptions/trunk/src
___________________________________________________________________
Name: svn:ignore
+ zope.exceptions.egg-info



Property changes on: zope.exceptions/trunk/src/zope
___________________________________________________________________
Name: svn:externals
-

+ exceptions svn://svn.zope.org/repos/main/Zope3/trunk/src/zope/exceptions


_______________________________________________
Zope-CVS maillist - Zope-CVS@zope.org
http://mail.zope.org/mailman/listinfo/zope-cvs

Zope CVS instructions: http://dev.zope.org/CVS