CofeehousePy/Makefile

107 lines
2.7 KiB
Makefile
Raw Normal View History

2020-12-25 21:00:04 +01:00
clean_apt:
2020-12-25 20:35:34 +01:00
rm -rf mods/apt/build mods/apt/dist mods/apt/coffeehousemod_apt.egg-info
2020-12-25 20:24:45 +01:00
2020-12-25 21:00:04 +01:00
clean_stopwords:
2020-12-25 20:35:34 +01:00
rm -rf mods/stopwords/build mods/stopwords/dist mods/stopwords/coffeehousemod_stopwords.egg-info
2020-12-25 20:24:45 +01:00
2020-12-25 21:00:04 +01:00
clean_tokenizer:
2020-12-25 20:35:34 +01:00
rm -rf mods/tokenizer/build mods/tokenizer/dist mods/tokenizer/coffeehousemod_tokenizer.egg-info
2020-12-25 20:24:45 +01:00
2020-12-25 21:00:04 +01:00
clean_dltc:
rm -rf dltc/build dltc/dist dltc/coffeehouse_dltc.egg-info
2020-12-25 20:16:54 +01:00
2020-12-25 21:00:04 +01:00
clean_nlpfr:
rm -rf nlpfr/build nlpfr/dist nlpfr/nltk.egg-info
2020-12-25 21:03:32 +01:00
clean_alg:
2020-12-25 21:34:45 +01:00
rm -rf alg/build alg/dist alg/coffeehouse_alg.egg-info
2020-12-25 21:03:32 +01:00
2020-12-25 21:14:57 +01:00
clean_his:
rm -rf hyper_internal_service/build hyper_internal_service/dist hyper_internal_service/hyper_internal_service.egg-info
2020-12-25 21:00:04 +01:00
clean:
make clean_apt clean_stopwords clean_tokenizer clean_nlpfr
make clean_dltc
2020-12-25 21:14:57 +01:00
make clean_his
2020-12-25 21:03:32 +01:00
make clean_alg
2020-12-25 21:00:04 +01:00
# ======================================================================================================================
build_apt:
2020-12-26 02:25:39 +01:00
cd mods/apt; python3.6 setup.py build; python3.6 setup.py sdist
2020-12-25 20:24:45 +01:00
2020-12-25 21:00:04 +01:00
build_stopwords:
2020-12-26 02:25:39 +01:00
cd mods/stopwords; python3.6 setup.py build; python3.6 setup.py sdist
2020-12-25 20:24:45 +01:00
2020-12-25 21:00:04 +01:00
build_tokenizer:
2020-12-26 02:25:39 +01:00
cd mods/tokenizer; python3.6 setup.py build; python3.6 setup.py sdist
2020-12-25 20:24:45 +01:00
2020-12-25 21:00:04 +01:00
build_mods:
make build_apt build_stopwords build_tokenizer
build_nlpfr:
make build_mods
2020-12-26 02:25:39 +01:00
cd nlpfr; python3.6 setup.py build; python3.6 setup.py sdist
2020-12-25 21:00:04 +01:00
build_dltc:
2020-12-26 02:25:39 +01:00
cd dltc; python3.6 setup.py build; python3.6 setup.py sdist
2020-12-25 20:16:54 +01:00
2020-12-25 21:03:32 +01:00
build_alg:
2020-12-26 02:25:39 +01:00
cd alg; python3.6 setup.py build; python3.6 setup.py sdist
2020-12-25 21:14:57 +01:00
build_his:
2020-12-26 02:25:39 +01:00
cd hyper_internal_service; python3.6 setup.py build; python3.6 setup.py sdist
2020-12-25 21:03:32 +01:00
2020-12-25 21:00:04 +01:00
build:
make build_nlpfr
2020-12-25 21:14:57 +01:00
make build_his
2020-12-25 21:00:04 +01:00
make build_dltc
2020-12-25 21:03:32 +01:00
make build_alg
2020-12-25 21:00:04 +01:00
# ======================================================================================================================
install_apt:
2020-12-26 02:25:39 +01:00
cd mods/apt; python3.6 setup.py install
2020-12-25 21:00:04 +01:00
install_stopwords:
2020-12-26 02:25:39 +01:00
cd mods/stopwords; python3.6 setup.py install
2020-12-25 21:00:04 +01:00
install_tokenizer:
2020-12-26 02:25:39 +01:00
cd mods/tokenizer; python3.6 setup.py install
2020-12-25 21:00:04 +01:00
install_mods:
make install_apt install_stopwords install_tokenizer
install_nlpfr:
make install_mods
2020-12-26 02:25:39 +01:00
cd nlpfr; python3.6 setup.py install
2020-12-25 21:00:04 +01:00
install_dltc:
2020-12-26 02:25:39 +01:00
cd dltc; python3.6 setup.py install
2020-12-25 21:00:04 +01:00
2020-12-25 21:03:32 +01:00
install_alg:
2020-12-26 02:25:39 +01:00
cd alg; python3.6 setup.py install
2020-12-25 21:03:32 +01:00
2020-12-25 21:14:57 +01:00
install_his:
2020-12-26 02:25:39 +01:00
cd hyper_internal_service; python3.6 -m pip install -Ur dev_requirements.txt; python3.6 setup.py install
2020-12-25 21:14:57 +01:00
2020-12-25 21:00:04 +01:00
install:
2020-12-25 21:03:32 +01:00
make install_nlpfr
2020-12-25 21:14:57 +01:00
make install_his
2020-12-25 21:03:32 +01:00
make install_dltc
make install_alg
2020-12-25 21:14:57 +01:00
# ======================================================================================================================
2020-12-25 21:34:45 +01:00
system_prep_python:
2020-12-26 02:25:39 +01:00
apt -y install python3.6
2020-12-25 21:34:45 +01:00
2020-12-25 21:14:57 +01:00
system_prep_pip:
2020-12-26 02:25:39 +01:00
apt -y install python3.6 python3-distutils python3-setuptools wget curl
2020-12-25 21:14:57 +01:00
wget https://bootstrap.pypa.io/get-pip.py
2020-12-26 02:25:39 +01:00
python3.6 get-pip.py
2020-12-25 21:14:57 +01:00
rm get-pip.py
system_prep_gcc:
2020-12-26 01:54:06 +01:00
apt -y install gcc