Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

package missing files from cmake directory #368

Merged
merged 4 commits into from
Sep 10, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion MANIFEST.in
Original file line number Diff line number Diff line change
@@ -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
15 changes: 7 additions & 8 deletions bin/test_travis.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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