Skip to content
Snippets Groups Projects
Commit b28ca58d authored by Jan Caron's avatar Jan Caron
Browse files

Minor changes to setup.py

parent 323f0199
No related branches found
No related tags found
No related merge requests found
[.ShellClassInfo] [.ShellClassInfo]
IconResource=C:\Users\Jan\Daten\PhD Thesis\Pyramid\icon.ico,0 IconResource=C:\Users\Jan\Home\PhD Thesis\Pyramid\icon.ico,0
[ViewState] [ViewState]
Mode= Mode=
Vid= Vid=
......
...@@ -20,7 +20,7 @@ class custom_build(build): ...@@ -20,7 +20,7 @@ class custom_build(build):
def make_hgrevision(self, target): def make_hgrevision(self, target):
output = subprocess.Popen(["hg", "id", "-i"], stdout=subprocess.PIPE).communicate()[0] output = subprocess.Popen(["hg", "id", "-i"], stdout=subprocess.PIPE).communicate()[0]
hgrevision_cc = file(str(target), "w") 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() hgrevision_cc.close()
def run(self): def run(self):
...@@ -53,6 +53,7 @@ setup( ...@@ -53,6 +53,7 @@ setup(
description = 'PYthon based Reconstruction Algorithm for MagnetIc Distributions', description = 'PYthon based Reconstruction Algorithm for MagnetIc Distributions',
author = 'Jan Caron', author = 'Jan Caron',
author_email = 'j.caron@fz-juelich.de', author_email = 'j.caron@fz-juelich.de',
url = 'fz-juelich.de',
packages = find_packages(exclude=['tests']), packages = find_packages(exclude=['tests']),
include_dirs = [numpy.get_include()], include_dirs = [numpy.get_include()],
......
...@@ -26,6 +26,9 @@ class TestCaseAnalytic(unittest.TestCase): ...@@ -26,6 +26,9 @@ class TestCaseAnalytic(unittest.TestCase):
def test_phase_mag_sphere(self): def test_phase_mag_sphere(self):
pass pass
def test_phase_mag_vortex(self):
pass
if __name__ == '__main__': if __name__ == '__main__':
suite = unittest.TestLoader().loadTestsFromTestCase(TestCaseAnalytic) suite = unittest.TestLoader().loadTestsFromTestCase(TestCaseAnalytic)
unittest.TextTestRunner(verbosity=2).run(suite) unittest.TextTestRunner(verbosity=2).run(suite)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment