-
Notifications
You must be signed in to change notification settings - Fork 56
/
Makefile
31 lines (26 loc) · 583 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
init:
pip install -r requirements.txt
init-dev:
pip install -r requirements_dev.txt
test:
python setup.py test
install:
python setup.py install
install-mecab:
git clone https://github.com/taku910/mecab.git; \
cd mecab/mecab; \
./configure --enable-utf8-only; \
make; \
make check; \
sudo make install; \
sudo ldconfig; \
cd ../mecab-ipadic; \
./configure --with-charset=utf8; \
make; \
sudo make install; \
mecab --version; \
pip install 'mecab-python3==0.7'
doc:
make init-dev; \
sphinx-apidoc -F -o docs/ budou/; \
sphinx-build -b html docs/ docs/_build/