-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathMakefile
35 lines (30 loc) · 786 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
init:
pip install -r requirements_dev.txt
doc:
# sphinx-apidoc --module-first -f -o docs/source pandas_xyz
rm -f docs/source/reference/api/*.rst
make -C docs/ clean
make -C docs/ html
test:
python -m unittest discover -s 'tests' -p 'test*.py' -v
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:
# git push origin && git push --tags origin
$(MAKE) clean
# pip install --quiet twine wheel
pip install twine wheel
python setup.py sdist bdist_wheel
twine check dist/*
twine upload dist/*
# $(MAKE) clean