<commit_before>PYTHON = python
# needs kivy installed or in PYTHONPATH

.PHONY: theming apk clean

theming:
	$(PYTHON) -m kivy.atlas theming/light 1024 theming/light/*.png
apk:
	# running pre build setup
	@cp tools/buildozer.spec ../../buildozer.spec
	# rename electrum to main.py
	@mv ../../electrum ../../main.py
	@-if [ ! -d "../../.buildozer" ];then \
		cd ../..; buildozer android debug;\
		cp -f gui/kivy/tools/blacklist.txt .buildozer/android/platform/python-for-android/src/blacklist.txt;\
		rm -rf ./.buildozer/android/platform/python-for-android/dist;\
	fi
	@-cd ../..; buildozer android debug deploy run
	@make clean
clean:
	# Cleaning up
	# rename main.py to electrum
	@-mv ../../main.py ../../electrum
	# remove buildozer.spec
	@-rm ../../buildozer.spec<commit_msg>kivy Makefile: don't move, copy<commit_after>PYTHON = python
# needs kivy installed or in PYTHONPATH

.PHONY: theming apk clean

theming:
	$(PYTHON) -m kivy.atlas theming/light 1024 theming/light/*.png
apk:
	# running pre build setup
	@cp tools/buildozer.spec ../../buildozer.spec
	# copy electrum to main.py
	@cp ../../electrum ../../main.py
	@-if [ ! -d "../../.buildozer" ];then \
		cd ../..; buildozer android debug;\
		cp -f gui/kivy/tools/blacklist.txt .buildozer/android/platform/python-for-android/src/blacklist.txt;\
		rm -rf ./.buildozer/android/platform/python-for-android/dist;\
	fi
	@-cd ../..; buildozer android debug deploy run
	@make clean
clean:
	# Cleaning up
	# rename main.py to electrum
	@-rm ../../main.py
	# remove buildozer.spec
	@-rm ../../buildozer.spec
{'fraction_non_alphanumeric': 0.17533718689788053, 'fraction_numerical': 0.005138086062941554, 'mean_word_length': 2.7815533980582523, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1827608', 'n_tokens_mistral': 615, 'n_tokens_neox': 581, 'n_words': 146}