Skip to content

Instantly share code, notes, and snippets.

@priyanlc
Created May 12, 2020 08:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save priyanlc/4fd555d757504a5153105585ca49f44a to your computer and use it in GitHub Desktop.
Save priyanlc/4fd555d757504a5153105585ca49f44a to your computer and use it in GitHub Desktop.
# make file
freeze:
pip-compile -r --no-index --output-file=requirements.txt requirements/requirements-prod.in
pip-compile -r --no-index --output-file=requirements-test.txt requirements/requirements-test.in
install:
PIP_CONFIG_FILE=pip.conf pip install -r requirements.txt
install-test:
pip install pip-tools
pip-sync requirements-test.txt
src_package: clean
python3 setup.py sdist bdist_wheel
echo "Spark job package successfully created!"
clean:
rm -rf dist/ build/ poc_pyspark_docker.egg-info/ || true
run-tests:
pytest
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment