<commit_before># -*- coding: utf-8 -*-
# (c) 2014-2021 <NAME> <<EMAIL>>


# =============
# Configuration
# =============

$(eval venv         := .venv)
$(eval pip          := $(venv)/bin/pip)
$(eval python       := $(venv)/bin/python)
$(eval pytest       := $(venv)/bin/pytest)
$(eval bumpversion  := $(venv)/bin/bumpversion)
$(eval twine        := $(venv)/bin/twine)
$(eval sphinx       := $(venv)/bin/sphinx-build)
$(eval invoke       := $(venv)/bin/invoke)



# =====
# Setup
# =====

# Setup Python virtualenv.
setup-virtualenv:
	@test -e $(python) || python3 -m venv $(venv)
	@$(pip) --quiet install wheel

# Install requirements for building the documentation.
virtualenv-docs: setup-virtualenv
	@$(pip) --quiet install --requirement=requirements-docs.txt

# Install requirements for development.
virtualenv-dev: setup-virtualenv
	@$(pip) install --upgrade --requirement=requirements-test.txt
	@$(pip) install --upgrade --editable=.[daq,daq_geospatial,export,scientific,firmware]

# Install requirements for releasing.
install-releasetools: setup-virtualenv
	@$(pip) install --quiet --requirement=requirements-release.txt --upgrade<commit_msg>Sandbox: Prefer installing binary wheels<commit_after># -*- coding: utf-8 -*-
# (c) 2014-2021 <NAME> <<EMAIL>>


# =============
# Configuration
# =============

$(eval venv         := .venv)
$(eval pip          := $(venv)/bin/pip)
$(eval python       := $(venv)/bin/python)
$(eval pytest       := $(venv)/bin/pytest)
$(eval bumpversion  := $(venv)/bin/bumpversion)
$(eval twine        := $(venv)/bin/twine)
$(eval sphinx       := $(venv)/bin/sphinx-build)
$(eval invoke       := $(venv)/bin/invoke)



# =====
# Setup
# =====

# Setup Python virtualenv.
setup-virtualenv:
	@test -e $(python) || python3 -m venv $(venv)
	@$(pip) install --upgrade --prefer-binary wheel

# Install requirements for building the documentation.
virtualenv-docs: setup-virtualenv
	@$(pip) install --upgrade --prefer-binary --requirement=requirements-docs.txt

# Install requirements for development.
virtualenv-dev: setup-virtualenv
	@$(pip) install --upgrade --prefer-binary --requirement=requirements-test.txt
	@$(pip) install --upgrade --prefer-binary --editable=.[daq,daq_geospatial,export,scientific,firmware]

# Install requirements for releasing.
install-releasetools: setup-virtualenv
	@$(pip) install --upgrade --prefer-binary --requirement=requirements-release.txt
{'fraction_non_alphanumeric': 0.19558884727424053, 'fraction_numerical': 0.008322929671244279, 'mean_word_length': 3.846774193548387, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, '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': '6994908', 'n_tokens_mistral': 824, 'n_tokens_neox': 772, 'n_words': 177}