Skip to content

Commit

Permalink
Add a test for python2 package generation from python3.
Browse files Browse the repository at this point in the history
Although I am planning to drop support for installing/running stdeb from
python2 I am hoping to preserve, at least for a while, support for
generating python2 packages.

Howveer, this case doesn't appear to be tested so I've added an
additional case when testing python3.
  • Loading branch information
nuclearsandwich committed Jul 10, 2024
1 parent abb982c commit 0eecfbd
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions test2and3.sh
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,11 @@ if [ "$DO_PY3" = true ]; then
# test the "sdist_dsc" and "bdist_deb" commands
${PY3EXE} setup.py --command-packages stdeb.command sdist_dsc --with-python3=true --with-python2=false bdist_deb
cd ../..

echo "using Python 3 to test 2 and 3 generation"
cd test_data/simple_pkg
${PY3EXE} setup.py --command-packages stdeb.command sdist_dsc --with-python3=true --with-python2=true bdist_deb
cd ../..
else
echo "skipping Python >= 3.2 test"
fi
Expand Down

0 comments on commit 0eecfbd

Please sign in to comment.