#!/bin/sh
#
#	clean upstream source to achieve DFSG compliance
#	Copyright 2020 by Bdale Garbee.  GPL v3 or any later version.
#

# remove pre-compiled Windows binaries
find . -name \*.pyd -exec rm {} \;

# remove jquery-related javascript droppings
find . -name \*.js -exec rm {} \;

# remove pre-run coverage analysis output to avoid copyright assertion confusion
rm -rf rocketcea/cover

# remove spurious csv file that somehow ends up in the delivered python dir
rm rocketcea/separated_Noz.csv rocketcea/tests/separated_Noz.csv

# remove spurious "backup" file
rm rocketcea/cea_obj.py.bak
