forked from deepin-community/python-dotenv
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
36 lines (27 loc) · 663 Bytes
/
Makefile
File metadata and controls
36 lines (27 loc) · 663 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
.PHONY: clean-pyc clean-build test
clean: clean-build clean-pyc
clean-build:
rm -fr build/
rm -fr dist/
rm -fr src/*.egg-info
clean-pyc:
find . -name '*.pyc' -exec rm -f {} +
find . -name '*.pyo' -exec rm -f {} +
find . -name '*~' -exec rm -f {} +
release: sdist
twine check dist/*
twine upload dist/*
release-test: sdist
twine upload --repository-url https://test.pypi.org/legacy/ dist/*
sdist: clean
python setup.py sdist bdist_wheel
ls -l dist
test:
pip install -e .
flake8 .
py.test tests/
coverage:
coverage run --source=dotenv --omit='*tests*' -m py.test tests/ -v --tb=native
coverage report
coverage-html: coverage
coverage html