@@ -44,38 +44,6 @@ def run(self):
4444
4545 _build_ext .run (self )
4646
47- # class TestCommand(Command):
48- # user_options = []
49-
50- # def initialize_options(self):
51- # pass
52-
53- # def finalize_options(self):
54- # pass
55-
56- # def run(self):
57- # import subprocess, os, tempfile, shutil
58-
59- # old_path = os.getcwd()
60- # tempdir_path = tempfile.mkdtemp()
61- # try:
62- # shutil.copytree('./tests', tempdir_path, dirs_exist_ok=True)
63- # os.chdir(tempdir_path)
64-
65- # if subprocess.call([sys.executable, 'runtests.py']):
66- # raise SystemExit("Doctest failures")
67-
68- # if subprocess.call([sys.executable, 'setup.py', 'build_ext', '--inplace']) or \
69- # subprocess.call([sys.executable, '-c', "import testpplitepy; testpplitepy.test(); testpplitepy.example()"]):
70- # raise SystemExit("Cython test 1 failure")
71-
72- # if subprocess.call([sys.executable, 'setup2.py', 'build_ext', '--inplace']) or \
73- # subprocess.call([sys.executable, '-c', "import testpplitepy2; testpplitepy2.test(); testpplitepy2.example()"]):
74- # raise SystemExit("Cython test 2 failure")
75- # finally:
76- # os.chdir(old_path)
77- # shutil.rmtree(tempdir_path)
78-
7947extensions = [
8048 Extension ('pplite.integer_conversions' , sources = ['pplite/integer_conversions.pyx' ]),
8149 Extension ('pplite.linear_algebra' , sources = ['pplite/linear_algebra.pyx' ]),
@@ -88,7 +56,4 @@ def run(self):
8856
8957setup (
9058 ext_modules = extensions ,
91- cmdclass = {'build_ext' : build_ext },
92- # long_description=open('README.rst').read(),
93- # long_description_content_type='text/markdown',
94- )
59+ cmdclass = {'build_ext' : build_ext },)
0 commit comments