diff --git a/setup.py b/setup.py index 31356afde5933e2c4113f3116e98dc977d03b314..8b7f890dbbb68ea3582fa1aa72dfd1a3d57e2624 100644 --- a/setup.py +++ b/setup.py @@ -1,18 +1,16 @@ # Use this guide: # https://packaging.python.org/tutorials/packaging-projects/ -# Use pipreqs.exe to get requirements list. + """ Windows> py -m build && twine upload dist/* Linux> python -m build && python -m twine upload dist/* - """ - import setuptools -import pkg_resources with open("README.md", "r", encoding="utf-8") as fh: long_description = fh.read() -# beamer-slider + + setuptools.setup( name="coursebox_testing", version="0.0.3", diff --git a/src/coursebox_testing/testing/testing.py b/src/coursebox_testing/testing/testing.py index 2fdc9f84491e3d019667336dd43096a57c55c052..681e7482e4a24125c7d8f66fbb957f9614e6f04d 100644 --- a/src/coursebox_testing/testing/testing.py +++ b/src/coursebox_testing/testing/testing.py @@ -24,7 +24,7 @@ def check_by_grade_script(student_dir, module): # output = subprocess.check_output(f"cd {student_dir} && {sys.executable} -m {module}", shell=True, check=False) print("Running command", cmd) p = run(cmd, capture_output=True, check=False, shell=True) - print('exit status:', p.returncode) + # print('exit status:', p.returncode) out = p.stdout.decode() stderr = p.stderr.decode() # process = run(cmd, print_output=False, check=False)