This commit is contained in:
Tan, Kian-ting 2021-06-19 18:37:08 +08:00
parent 366dfcecd7
commit 80da185aab
3 changed files with 23 additions and 7 deletions

View file

@ -1,13 +1,29 @@
# Clochur
A Scheme-like typesetting LISP interpreter and editor that using SILE typesetting Engine.
== Packaging ==
To make a wheel package, run:
## Dependencies
* PyQt5>=5.15
* QScintilla>=2.12
* SILE>=0.10
python setup.py bdist_wheel
## Install
It's recommended to install the wheel file (.whl) of it with pip3:
`pip3 install Clochur-x.y.z-py3-none-any.whl`
## Manual
see `src/example.pdf`
## Packaging
To make a wheel package, run the following command in the root folder:
`python setup.py bdist_wheel`
and then:
cd dist
pip3 install Clochur-x.y.z-py3-none-any.whl
`cd dist; ls`
`Clochur-x.y.z-py3-none-any.whl` will in it.

View file

@ -27,7 +27,7 @@ sile_command = 'sile'
dirname = os.path.abspath(os.path.dirname(__file__)) #os.path.dirname('__file__')
PDFJS = os.path.join(dirname, '../thirdparty/pdfjs/web/viewer.html')
PDF = os.path.join(dirname, 'example.pdf')
PDF = os.path.join(os.path.dirname(dirname), 'example.pdf')
app = None

BIN
src/example.pdf Normal file

Binary file not shown.