Skip to content

Commit 3e9e2bb

Browse files
committed
add some readme details, clean up setup file
1 parent ac77bc5 commit 3e9e2bb

2 files changed

Lines changed: 2 additions & 37 deletions

File tree

README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ https://github.com/ComboProblem/pplitepy
6868
Documentation
6969
-------------
7070

71-
TBD.
71+
There is minimal documentation as in pplite.
7272

7373
License
7474
-------

setup.py

Lines changed: 1 addition & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -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-
7947
extensions = [
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

8957
setup(
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

Comments
 (0)