diff --git a/MANIFEST.in b/MANIFEST.in index 5ff1ff6b..c5d457e2 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -1,3 +1,3 @@ include CMakeLists.txt LICENSE README.md symengine_version.txt recursive-include symengine *.cpp *.h *.hpp CMakeLists.txt *.in *.cmake *.pyx *.pxd *.py *.pxi -recursive-include cmake *.cpp *.in *.cmake *.pyx +recursive-include cmake *.cpp *.in *.cmake *.pyx *.py *.txt diff --git a/bin/test_travis.sh b/bin/test_travis.sh index 6d0f636c..d83b27db 100755 --- a/bin/test_travis.sh +++ b/bin/test_travis.sh @@ -5,18 +5,17 @@ set -e # Echo each command set -x +python setup.py sdist +mkdir dist-extract +cd dist-extract +tar -xvf ../dist/symengine-*.tar.gz +cd symengine-* + # Build inplace so that nosetests can be run inside source directory python3 setup.py install build_ext --inplace --symengine-dir=$our_install_dir # Test python wrappers python3 -m pip install pytest -python3 -m pytest -s -v $PYTHON_SOURCE_DIR/symengine/tests/test_*.py +python3 -m pytest -s -v $PWD/symengine/tests/test_*.py mkdir -p empty && cd empty python3 $PYTHON_SOURCE_DIR/bin/test_python.py -cd .. - -if [[ "${TRIGGER_FEEDSTOCK}" == "yes" ]]; then - cd $PYTHON_SOURCE_DIR - ./bin/trigger_feedstock.sh -fi -