debian-skyfield-data/Makefile

29 lines
642 B
Makefile

help:
@echo "Skyfield data - Makefile targets (devs only)"
@echo
@echo " * download: Download all files if necessary, default options."
@echo " (see \`python download.py --help\` for options)"
@echo " * clean: remove all skyfield data from data directory."
@echo " * package: build python source package."
@echo ""
@echo " * install-dev: Install the requirements to switch to dev mode."
@echo " * test: Run tests using tox."
download:
python3 download.py
clean:
rm -f skyfield_data/data/*
package:
python3 setup.py sdist bdist_wheel
install-dev:
pip install -e .[dev]
test:
tox
test-py26:
tox -c tox-py26.ini