Skip to content

Commit

Permalink
python: fix make check
Browse files Browse the repository at this point in the history
  • Loading branch information
paumard committed Sep 12, 2016
1 parent 18b2c62 commit 5f9eb50
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 3 deletions.
3 changes: 2 additions & 1 deletion python/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ clean:
-rm gyoto*.py gyoto*_wrap.cxx *.pyc gyoto_doc.i gyoto_doc.i.orig
-rm doxygen_sqlite3.db gyoto_*installed.txt
-rm -f tests/*.pyc
-rm -Rf _gyoto.so Gyoto.egg-info
-rm -Rf _gyoto*.so Gyoto*.egg-info

# Clean up the output of configure
distclean: clean
Expand All @@ -204,6 +204,7 @@ dist:
# Use the setup.py test command
check:
@DYLIB_VAR@=../lib/.libs:$$@DYLIB_VAR@ PYTHONPATH=@srcdir@:$$PYTHONPATH $(PYTHON) -B setup.py test
@DYLIB_VAR@=../lib/.libs:$$@DYLIB_VAR@ PYTHONPATH=@srcdir@:$$PYTHONPATH $(PYTHON) -B setup_std.py test

# setup.py might complain if a directory doesn't exist so just in case, make the directory
# here
Expand Down
5 changes: 3 additions & 2 deletions python/setup_std.py.in
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
# notice and this notice are preserved. This file is offered as-is,
# without any warranty.

from distutils.core import setup, Extension
from setuptools import setup, Extension
import platform
import re

Expand Down Expand Up @@ -52,5 +52,6 @@ setup(name='@PACKAGE_NAME@'+'_std',
version='@PACKAGE_VERSION@',
author_email='@PACKAGE_BUGREPORT@',
py_modules=["gyoto_std"],
ext_modules=[gyoto_std_module]
ext_modules=[gyoto_std_module],
test_suite='tests_std'
)
Empty file added python/tests_std/__init__.py
Empty file.
File renamed without changes.

0 comments on commit 5f9eb50

Please sign in to comment.