From bdad96b715d1dd75ce8ab4724f76b9b1bb1f61cd Mon Sep 17 00:00:00 2001 From: victor lei Date: Fri, 22 Jun 2018 02:46:15 +0300 Subject: [PATCH] wip --- setup.py | 4 ++-- smop/test_solver.py | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/setup.py b/setup.py index 7ebffed9..ac365f38 100644 --- a/setup.py +++ b/setup.py @@ -17,7 +17,7 @@ license = 'MIT', keywords = 'convert translate matlab octave python', url = 'https://github.com/victorlei/smop', - download_url = 'https://github.com/victorlei/smop/archive/master.zip', + download_url = 'https://github.com/victorlei/smop', #/archive/master.zip', name = 'smop', version = __VERSION__, entry_points = { 'console_scripts': [ 'smop = smop.main:main', ], }, @@ -26,5 +26,5 @@ #test_suite = "smop.testsuite.test_lexer", #include_package_data = True, #package_data = { 'smop': ['*.m', 'Makefile'], }, - install_requires = ['ply', 'numpy', 'scipy', 'networkx'], + install_requires = ['pytest', 'ply', 'numpy', 'scipy', 'networkx'], ) diff --git a/smop/test_solver.py b/smop/test_solver.py index 9396413d..712eaffe 100644 --- a/smop/test_solver.py +++ b/smop/test_solver.py @@ -21,8 +21,8 @@ def main(): t0 = time.clock() mv = solver(ai,af,0) t1 = time.clock() - print t1-t0 - print mv.shape + print(t1-t0) + print(mv.shape) if __name__ == '__main__': main()