modi
This commit is contained in:
parent
366dfcecd7
commit
80da185aab
3 changed files with 23 additions and 7 deletions
26
README.md
26
README.md
|
@ -1,13 +1,29 @@
|
||||||
# Clochur
|
# Clochur
|
||||||
A Scheme-like typesetting LISP interpreter and editor that using SILE typesetting Engine.
|
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:
|
and then:
|
||||||
|
|
||||||
cd dist
|
`cd dist; ls`
|
||||||
pip3 install Clochur-x.y.z-py3-none-any.whl
|
|
||||||
|
`Clochur-x.y.z-py3-none-any.whl` will in it.
|
||||||
|
|
|
@ -27,7 +27,7 @@ sile_command = 'sile'
|
||||||
|
|
||||||
dirname = os.path.abspath(os.path.dirname(__file__)) #os.path.dirname('__file__')
|
dirname = os.path.abspath(os.path.dirname(__file__)) #os.path.dirname('__file__')
|
||||||
PDFJS = os.path.join(dirname, '../thirdparty/pdfjs/web/viewer.html')
|
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
|
app = None
|
||||||
|
|
||||||
|
|
BIN
src/example.pdf
Normal file
BIN
src/example.pdf
Normal file
Binary file not shown.
Loading…
Reference in a new issue