forked from sourcesimian/aioTelegramBot
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmakefile
More file actions
43 lines (27 loc) · 805 Bytes
/
makefile
File metadata and controls
43 lines (27 loc) · 805 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
35
36
37
38
39
40
41
42
43
test:
trial tests/test_*.py
run:
python3 -m TelegramBot.service ./config.ini
coverage:
coverage run tests/test_*.py
coverage html
open htmlcov/index.html
develop:
./setup_env.sh
clean:
rm -rf build
rm -rf _trial*
rm -rf htmlcov
rm -rf *.egg-info
analyse:
find TelegramBot -name '*.py' | xargs pep8 --ignore E501
find TelegramBot -name '*.py' | xargs pyflakes
find TelegramBot -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:
python setup.py register -r pypi
python setup.py sdist upload -r pypi
from_pypi_test:
pip install --extra-index-url https://testpypi.python.org/pypi txTelegramBot