File: build.sh

package info (click to toggle)
colorclass 2.2.2-9
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 820 kB
  • sloc: python: 2,079; sh: 12; makefile: 9
file content (11 lines) | stat: -rw-r--r-- 393 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
echo assuming we still want to support python 2!
PROJECT="colorclass"
export PYTHONPATH=$PYTHONPATH:.
pylint "$PROJECT"
flake8 "$PROJECT"
python -m pytest "$PROJECT"
python -m pytest --doctest-glob="$PROJECT/**/*.py"
pytest tests -v --cov-report html:coverage --cov="$PROJECT"
echo not bumping version here, just checking if we can create the wheel
poetry build
check-wheel-contents dist/*.whl