From b28ca58da4a353310fe136271a99fca0de7cd5b9 Mon Sep 17 00:00:00 2001 From: Jan Caron <j.caron@fz-juelich.de> Date: Thu, 25 Jul 2013 15:57:00 +0200 Subject: [PATCH] Minor changes to setup.py --- desktop.ini | 2 +- setup.py | 3 ++- tests/test_analytic.py | 3 +++ 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/desktop.ini b/desktop.ini index 1dc8008..e3da4d7 100644 --- a/desktop.ini +++ b/desktop.ini @@ -1,5 +1,5 @@ [.ShellClassInfo] -IconResource=C:\Users\Jan\Daten\PhD Thesis\Pyramid\icon.ico,0 +IconResource=C:\Users\Jan\Home\PhD Thesis\Pyramid\icon.ico,0 [ViewState] Mode= Vid= diff --git a/setup.py b/setup.py index 18e670b..9efd3c4 100644 --- a/setup.py +++ b/setup.py @@ -20,7 +20,7 @@ class custom_build(build): def make_hgrevision(self, target): output = subprocess.Popen(["hg", "id", "-i"], stdout=subprocess.PIPE).communicate()[0] hgrevision_cc = file(str(target), "w") - hgrevision_cc.write('HG_Revision = "{0}"\n'.format(output.strip())) + hgrevision_cc.write('HG_Revision = "{0}"'.format(output.strip())) hgrevision_cc.close() def run(self): @@ -53,6 +53,7 @@ setup( description = 'PYthon based Reconstruction Algorithm for MagnetIc Distributions', author = 'Jan Caron', author_email = 'j.caron@fz-juelich.de', + url = 'fz-juelich.de', packages = find_packages(exclude=['tests']), include_dirs = [numpy.get_include()], diff --git a/tests/test_analytic.py b/tests/test_analytic.py index 9e3f84e..f94cf56 100644 --- a/tests/test_analytic.py +++ b/tests/test_analytic.py @@ -26,6 +26,9 @@ class TestCaseAnalytic(unittest.TestCase): def test_phase_mag_sphere(self): pass + def test_phase_mag_vortex(self): + pass + if __name__ == '__main__': suite = unittest.TestLoader().loadTestsFromTestCase(TestCaseAnalytic) unittest.TextTestRunner(verbosity=2).run(suite) -- GitLab