Skip to content

Commit

Permalink
Use buildout to create test runner and setup environment and the like.
Browse files Browse the repository at this point in the history
--HG--
extra : convert_revision : svn%3A882ca7fe-3cf8-0310-95c5-f9aabef819dd/pyoai/trunk%4034011
  • Loading branch information
faassen@882ca7fe-3cf8-0310-95c5-f9aabef819dd committed Mar 12, 2009
1 parent f9ce591 commit caf17a9
Show file tree
Hide file tree
Showing 4 changed files with 36 additions and 595 deletions.
23 changes: 21 additions & 2 deletions HISTORY.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,27 @@
oaipmh changelog
================

trunk (unreleased)
==================
2.3 (unreleased)
================

Changes
-------

* Use buildout to create testrunner and environment as opposed to
``test.py`` script.

Install buildout by:

$ python bootstrap.py
$ bin/buildout

Run the tests by doing:

$ bin/test

To get a python interpreter with the ``oaipmh`` library importable::

$ bin/devpython

2.2.1 (2008-04-04)
================
Expand Down
14 changes: 14 additions & 0 deletions buildout.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
[buildout]
develop = .
parts = devpython test
newest = false

[devpython]
recipe = zc.recipe.egg
interpreter = devpython
eggs = pyoai

[test]
recipe = zc.recipe.testrunner
eggs = pyoai
defaults = ['--tests-pattern', '^f?tests$', '-v']
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

setup(
name='pyoai',
version='2.2.1',
version='2.3dev',
author='Infrae',
author_email='[email protected]',
url='http://www.infrae.com/download/oaipmh',
Expand Down
Loading

0 comments on commit caf17a9

Please sign in to comment.