From 43de08e21160ee71c25fcd1451efc6e27f5615b3 Mon Sep 17 00:00:00 2001 From: Joseph Hunkeler Date: Wed, 24 Jun 2015 09:14:52 -0400 Subject: Simplify test.ini, remove release keyword --- tests/data/test.ini | 30 ++++++++++++------------------ 1 file changed, 12 insertions(+), 18 deletions(-) (limited to 'tests') diff --git a/tests/data/test.ini b/tests/data/test.ini index b5f6cca..c293ceb 100644 --- a/tests/data/test.ini +++ b/tests/data/test.ini @@ -8,7 +8,6 @@ url: ${cbc_cgi:protocol}://localhost:${cbc_cgi:local_port} [package] name: test version: 1.0.0 -release: 1 [about] home: http://example.com/${package:name} @@ -23,31 +22,26 @@ url: ${cbc_cgi:url}/${fn} [build] number: 1 +[requirements] +build: + python + setuptools +run: + python + + [cbc_build] prefix: /usr/local win_prefix: c:\anaconda3\ linux: - #find . -type f -name "*.py" -exec "sed -i 's|beep|bloop|g'" {} \; - for x in *.py - do - echo "$$x" - done - (./configure --prefix=${prefix} ; \ - make ; \ - make install ) + python setup.py install || exit 1 darwin: - find . -type f -name "*.py" -exec "sed -i 's|blat|splat|g'" {} \; - ./configure --prefix=${prefix} - make - make install + python setup.py install || exit 1 windows: - rem oh no, windows! - echo "ow it hurts" - nmake /D_PREFIX=${win_prefix} - - + python setup.py install + if errorlevel 1 exit 1 \ No newline at end of file -- cgit