2017-03-02 10:31:21 +00:00
|
|
|
#!/bin/sh
|
2017-03-05 07:51:20 +00:00
|
|
|
if [[ $PVERSION = 2 ]]; then
|
2017-03-02 10:31:21 +00:00
|
|
|
python -m py_compile cps.py
|
|
|
|
python -m py_compile cps/book_formats.py
|
|
|
|
python -m py_compile cps/db.py
|
|
|
|
python -m py_compile cps/epub.py
|
|
|
|
python -m py_compile cps/fb2.py
|
|
|
|
python -m py_compile cps/helper.py
|
|
|
|
python -m py_compile cps/ub.py
|
|
|
|
python -m py_compile cps/uploader.py
|
|
|
|
python -m py_compile cps/web.py
|
2017-03-05 07:43:56 +00:00
|
|
|
python -m py_compile cps.py
|
|
|
|
fi
|
2017-03-05 07:51:20 +00:00
|
|
|
if [[ $PVERSION = 3 ]]; then
|
2017-03-05 07:43:56 +00:00
|
|
|
python3.6 -m py_compile cps.py
|
|
|
|
python3.6 -m py_compile cps/book_formats.py
|
|
|
|
python3.6 -m py_compile cps/db.py
|
|
|
|
python3.6 -m py_compile cps/epub.py
|
|
|
|
python3.6 -m py_compile cps/fb2.py
|
|
|
|
python3.6 -m py_compile cps/helper.py
|
|
|
|
python3.6 -m py_compile cps/ub.py
|
|
|
|
python3.6 -m py_compile cps/uploader.py
|
|
|
|
python3.6 -m py_compile cps/web.py
|
|
|
|
python3.6 -m py_compile cps.py
|
|
|
|
fi
|
|
|
|
|