-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathmakefile
More file actions
34 lines (22 loc) · 656 Bytes
/
makefile
File metadata and controls
34 lines (22 loc) · 656 Bytes
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
test:
trial tests/test_*.py
coverage:
coverage run tests/test_types.py
coverage html
open htmlcov/index.html
develop:
./setup_env.sh
clean:
rm -rf build
rm -rf _trial*
rm -rf htmlcov
analyse:
find TelegramBotAPI -name '*.py' | xargs pep8 --ignore E501
find TelegramBotAPI -name '*.py' | xargs pyflakes
find TelegramBotAPI -name '*.py' | xargs pylint -d invalid-name -d locally-disabled -d missing-docstring -d too-few-public-methods -d protected-access
to_pypi_test:
python setup.py register -r pypitest
python setup.py sdist upload -r pypitest
to_pypi_live:
python setup.py register -r pypi
python setup.py sdist upload -r pypi