forked from open2c/cooler
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
41 lines (30 loc) · 814 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
.PHONY: init install clean-pyc clean-build build test publish docs-init docs
init:
conda install --file requirements.txt
install:
pip install -e .
test:
pytest
clean-pyc:
find . -name '*.pyc' -exec rm --force {} +
find . -name '*.pyo' -exec rm --force {} +
find . -name '*~' -exec rm --force {} +
clean-build:
rm -rf build/
rm -rf dist/
rm -f .coverage
rm -f coverage.xml
rm -rf htmlcov/
clean: clean-pyc clean-build
build: clean-build
python setup.py sdist
python setup.py bdist_wheel
publish: build
twine upload dist/*
publish-test: build
twine upload --repository-url https://test.pypi.org/legacy/ dist/*
# pip install --extra-index-url https://test.pypi.org/simple/ cooler
docs-init:
conda install --file docs/requirements.txt
docs:
cd docs && python make_cli_rst.py && make html