diff --git a/PyHEADTAIL/_version.py b/PyHEADTAIL/_version.py index da77e85c..522ba08c 100644 --- a/PyHEADTAIL/_version.py +++ b/PyHEADTAIL/_version.py @@ -1 +1 @@ -__version__ = '1.11.0' +__version__ = '1.11.1' diff --git a/PyHEADTAIL/testing/unittests/testsuite.py b/PyHEADTAIL/testing/unittests/testsuite.py index 5c338cbc..b88d5dd5 100644 --- a/PyHEADTAIL/testing/unittests/testsuite.py +++ b/PyHEADTAIL/testing/unittests/testsuite.py @@ -13,6 +13,8 @@ has_pycuda = False print 'No PyCUDA installation found.' +from pprint import pprint + from test_slicing import TestSlicing from test_particles import TestParticles from test_generators import TestParticleGenerators @@ -50,7 +52,8 @@ test = test_load.loadTestsFromTestCase(case) case_list.append(test) test_suite = unittest.TestSuite(case_list) - print('Running unit tests ' + str(test_list)) + print('Running unit tests:') + pprint(test_list) runner = unittest.TextTestRunner() ret = not runner.run(test_suite).wasSuccessful() sys.exit(ret) diff --git a/README.rst b/README.rst index d2166293..700d7d92 100644 --- a/README.rst +++ b/README.rst @@ -4,10 +4,6 @@ PyHEADTAIL CERN PyHEADTAIL numerical n-body simulation code for simulating macro-particle beam dynamics with collective effects. -Currently only a git-clone of the repository is supported. -The available zip files on github are missing the versioning -and will not allow ./install to work. - Installation ------------ @@ -40,13 +36,13 @@ And there you go, start using PyHEADTAIL! In [1]: import PyHEADTAIL - PyHEADTAIL v1.4.0-0-g8422af8081 + PyHEADTAIL v1.11.1 ------------------------------------------------------------------------------- -Please use the pre-push script ``pre-push.py`` if you want to contribute +Please use the pre-push script ``prepush.py`` if you want to contribute to the repository. It only lets you push to the develop and master branch if no unit tests fail. -To install (creates a symlink): ``ln -s ../../pre-push.py .git/hooks/pre-push`` +To install (creates a symlink): ``ln -s ../../prepush.py .git/hooks/pre-push``