-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
44 lines (35 loc) · 909 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
42
43
44
init:
pip install -r requirements_dev.txt
test:
python -m unittest discover -s 'tests' -p 'test*.py' -v
doc:
# sphinx-apidoc --module-first -f -o docs/source pandas_xyz
make -C docs/ clean
make -C docs/ html
# EXAMPLE TASKS FOR FUTURE
clean:
rm -Rf *.egg-info build dist
testpublish:
# git push origin && git push --tags origin
$(MAKE) clean
# pip install --quiet twine wheel
# pip install twine wheel
# python setup.py bdist_wheel
python setup.py sdist bdist_wheel
twine check dist/*
twine upload -r testpypi dist/*
# $(MAKE) clean
publish:
$(MAKE) clean
python setup.py sdist bdist_wheel
twine check dist/*
twine upload dist/*
# $(MAKE) clean
# clean-pyc:
# find . -name '*.pyc' -exec rm --force {} +
# find . -name '*.pyo' -exec rm --force {} +
# name '*~' -exec rm --force {}
# isort:
# sh -c "isort --skip-glob=.tox --recursive . "
# lint:
# flake8 --exclude=.tox