-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
57 lines (48 loc) · 1.34 KB
/
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
45
46
47
48
49
50
51
52
53
54
55
56
57
clean: pypi-clean
pipenv: pipenv-update
pypi: pypi-dist pypi-upload
maintainer: update-maintainer
pipenv-init:
pipenv install --dev \
autopep8 \
codecov \
coverage \
doc8 \
pylint \
sphinx
pipenv-update:
pipenv run pip install -U \
pip \
setuptools \
wheel
pipenv update
pipenv install --dev
pipenv clean
pipenv-deinit:
pipenv --rm
update-maintainer:
go run github.com/gaocegege/maintainer changelog
go run github.com/gaocegege/maintainer contributor
go run github.com/gaocegege/maintainer contributing
pypi-clean:
mkdir -p sdist eggs wheels
[ -d dist ] && find dist -iname '*.egg' -exec mv {} eggs \; || true
[ -d dist ] && find dist -iname '*.whl' -exec mv {} wheels \; || true
[ -d dist ] && find dist -iname '*.tar.gz' -exec mv {} sdist \; || true
rm -rf build dist *.egg-info
pypi-dist: pypi-clean
pipenv run python setup.py sdist bdist_wheel
pypi-register: pypi-dist
twine check dist/* || true
twine register dist/*.whl -r pypi --skip-existing
# twine register dist/*.whl -r pypitest --skip-existing
pypi-upload:
twine check dist/* || true
twine upload dist/* -r pypi --skip-existing
# twine upload dist/* -r pypitest --skip-existing
sync:
cd vendor/f2format && git pull
cd vendor/poseur && git pull
cd vendor/utils && git pull
cd vendor/vermin && git pull
cd vendor/walrus && git pull