<commit_before>


all: clean build_ext


sdist: clean swig
	python setup.py sdist

bdist: clean swig
	python setup.py bdist

rpm: clean swig
	python setup.py bdist_rpm


# ---------------------------------------------------------
#  
# build
#
build_ext: clean swig
	python setup.py build_ext
	python setup.py build_ext --inplace

build_ext26: clean swig
	python2.6 setup.py build_ext
	python2.6 setup.py build_ext --inplace

build_ext27: clean swig
	python2.7 setup.py build_ext
	python2.7 setup.py build_ext --inplace

build_ext33: clean swig
	python3.3 setup.py build_ext
	python3.3 setup.py build_ext --inplace

build_ext34: clean swig
	python3.4 setup.py build_ext
	python3.4 setup.py build_ext --inplace

build_ext35: clean swig
	python3.5 setup.py build_ext<commit_msg>Added upload target to Makefile<commit_after>


all: help

help:
	exit 1


# ---------------------------------------------------------
#  
#  packaging
#
sdist: clean swig
	python setup.py sdist

bdist: clean swig
	python setup.py bdist

rpm: clean swig
	python setup.py bdist_rpm

upload: clean swig sdist
	twine upload dist/*

info:
	python setup.py egg_info

register:
	echo "https://pypi.python.org/pypi?%3Aaction=submit_form"


# ---------------------------------------------------------
#  
# build
#
build_ext: clean swig
	python setup.py build_ext
	python setup.py build_ext --inplace

build_ext26: clean swig
	python2.6 setup.py build_ext
	python2.6 setup.py build_ext --inplace

build_ext27: clean swig
	python2.7 setup.py build_ext
	python2.7 setup.py build_ext --inplace

build_ext33: clean swig
	python3.3 setup.py build_ext
	python3.3 setup.py build_ext --inplace

build_ext34: clean swig
	python3.4 setup.py build_ext
	python3.4 setup.py build_ext --inplace

build_ext35: clean swig
	python3.5 setup.py build_ext
{'fraction_non_alphanumeric': 0.1625069328896284, 'fraction_numerical': 0.03216860787576262, 'mean_word_length': 2.5652173913043477, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 1, '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': '5761525', 'n_tokens_mistral': 656, 'n_tokens_neox': 633, 'n_words': 178}