[Checkins] SVN: RestrictedPython/trunk/ Removed a testing dependency on zope.testing. Also remove completely outdated install instructions.
Hanno Schlichting
hannosch at hannosch.eu
Fri Apr 30 13:08:37 EDT 2010
Log message for revision 111649:
Removed a testing dependency on zope.testing. Also remove completely outdated install instructions.
Changed:
U RestrictedPython/trunk/CHANGES.txt
D RestrictedPython/trunk/INSTALL.txt
U RestrictedPython/trunk/setup.py
U RestrictedPython/trunk/src/RestrictedPython/tests/testREADME.py
-=-
Modified: RestrictedPython/trunk/CHANGES.txt
===================================================================
--- RestrictedPython/trunk/CHANGES.txt 2010-04-30 17:03:55 UTC (rev 111648)
+++ RestrictedPython/trunk/CHANGES.txt 2010-04-30 17:08:37 UTC (rev 111649)
@@ -1,6 +1,11 @@
Changes
=======
+3.5.2 (unreleased)
+------------------
+
+- Removed a testing dependency on zope.testing.
+
3.5.1 (2009-03-17)
------------------
Deleted: RestrictedPython/trunk/INSTALL.txt
===================================================================
--- RestrictedPython/trunk/INSTALL.txt 2010-04-30 17:03:55 UTC (rev 111648)
+++ RestrictedPython/trunk/INSTALL.txt 2010-04-30 17:08:37 UTC (rev 111649)
@@ -1,83 +0,0 @@
-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/RestrictedPython/trunk \
- src/RestrictedPython
- $ cd src/RestrictedPython
-
-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 RestrictedPython
- $ cd src/RestrictedPython
- $ /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="...." RestrictedPython
-
-
Modified: RestrictedPython/trunk/setup.py
===================================================================
--- RestrictedPython/trunk/setup.py 2010-04-30 17:03:55 UTC (rev 111648)
+++ RestrictedPython/trunk/setup.py 2010-04-30 17:08:37 UTC (rev 111649)
@@ -22,23 +22,20 @@
return open(os.path.join(os.path.dirname(__file__), *rnames)).read()
setup(name='RestrictedPython',
- version='3.5.1',
- url='http://cheeseshop.python.org/pypi/RestrictedPython',
+ version='3.5.2dev',
+ url='http://pypi.python.org/pypi/RestrictedPython',
license='ZPL 2.1',
description='RestrictedPython provides a restricted execution '
'environment for Python, e.g. for running untrusted code.',
author='Zope Foundation and Contributors',
- author_email='zope3-dev at zope.org',
+ author_email='zope-dev at zope.org',
long_description=(read('src', 'RestrictedPython', 'README.txt')
+ '\n' +
read('CHANGES.txt')),
packages = find_packages('src'),
package_dir = {'': 'src'},
-
- tests_require = ['zope.testing'],
install_requires = ['setuptools'],
include_package_data = True,
-
zip_safe = False,
)
Modified: RestrictedPython/trunk/src/RestrictedPython/tests/testREADME.py
===================================================================
--- RestrictedPython/trunk/src/RestrictedPython/tests/testREADME.py 2010-04-30 17:03:55 UTC (rev 111648)
+++ RestrictedPython/trunk/src/RestrictedPython/tests/testREADME.py 2010-04-30 17:08:37 UTC (rev 111649)
@@ -14,7 +14,7 @@
"""Run tests in README.txt
"""
import unittest
-from zope.testing.doctestunit import DocFileSuite
+from doctest import DocFileSuite
__docformat__ = "reStructuredText"
@@ -22,6 +22,3 @@
return unittest.TestSuite([
DocFileSuite('README.txt', package='RestrictedPython'),
])
-
-if __name__ == '__main__':
- unittest.main(defaultTest='test_suite')
More information about the checkins
mailing list