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]
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=
......
......@@ -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()],
......
......@@ -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)
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