-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathMakefile
39 lines (30 loc) · 1.04 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
help:
@echo "Please use \`make <target>' where <target> is one of"
@echo " install to install required modules"
@echo " uninstall to uninstall required modules"
@echo " sdist to create a source distribution"
@echo " wheel to create a wheel distribution"
@echo " egg to create an egg distribution"
@echo " test to run all of the test suites"
@echo " testQuery to run the query test suite"
@echo " testConcordancers to run the concordancer test suite"
@echo " testUtilities to run the utilities test suite"
install:
pip install -r requirements.txt
uninstall:
pip uninstall -y -r requirements.txt
sdist:
python setup.py sdist
wheel:
pip install wheel
python setup.py bdist_wheel
egg:
python setup.py bdist_egg
test:
nosetests --nocapture tests/test_*.py
testQuery:
nosetests --nocapture tests/test_query.py
testConcordancers:
nosetests --nocapture tests/test_concordancers.py
testUtilities:
nosetests --nocapture tests/test_utilities.py