forked from pycontribs/activedirectory
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Makefile
50 lines (39 loc) · 867 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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
.PHONY: clean install uninstall install_testrig tox test coverage travis flake8 pypi docs web tag release
clean:
find . -name "*.pyc" -delete
install:
python setup.py install
uninstall:
pip uninstall ldap3
pep8:
py.test --pep8 -m pep8
test:
pip install --user -r requirements.txt
pip install --user -r requirements-dev.txt
python -m tox
#tox:
# pip install tox detox
# detox
coverage:
pip install coverage
travis
travis:
pip install coveralls
coverage run --source=ldap3 runtests.py
pypi:
python setup.py check --restructuredtext --strict
python setup.py sdist upload
#python2.6 setup.py bdist_wheel upload
python2.7 setup.py bdist_wheel upload
#python3.4 setup.py bdist_wheel upload
docs:
pip install sphinx
sphinx-build -b html docs/ docs/build/
tag:
bumpversion minor
git push origin master
git push --tags
release:
tag
pypi
web