<commit_before># This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
# Copyright (c) 2014 Mozilla Corporation
# Author: <EMAIL>

all:
	./setup.py build

install:
	./setup.py install

rpm:
	fpm -s python -t rpm -d pytz -d python-requests-futures ./setup.py

deb:
	fpm -s python -t deb ./setup.py

tests: test
test:
	python ./mozdef_client.py

pypi:
	 python setup.py sdist check upload --sign

clean:
	rm -rf *pyc
	rm -rf build
	rm -rf __pycache__
	rm -rf dist<commit_msg>Add a twine option for when we dont like setup.py<commit_after># This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
# Copyright (c) 2014 Mozilla Corporation
# Author: <EMAIL>

all:
	./setup.py build

install:
	./setup.py install

rpm:
	fpm -s python -t rpm -d pytz -d python-requests-futures ./setup.py

deb:
	fpm -s python -t deb ./setup.py

tests: test
test:
	python ./mozdef_client.py

pypi:
	 python setup.py sdist check upload --sign

twine:
	twine upload -s dist/mozdef_client-1.0.7.tar.gz

clean:
	rm -rf *pyc
	rm -rf build
	rm -rf __pycache__
	rm -rf dist
{'fraction_non_alphanumeric': 0.10641509433962264, 'fraction_numerical': 0.014339622641509434, 'mean_word_length': 3.0060422960725077, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '3029222', 'n_tokens_mistral': 511, 'n_tokens_neox': 482, 'n_words': 195}