diff --git a/README.md b/README.md index f6a5e1e..15c6a36 100644 --- a/README.md +++ b/README.md @@ -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. diff --git a/src/Editor/__init__.py b/src/Editor/__init__.py index da6e61a..3c64b30 100755 --- a/src/Editor/__init__.py +++ b/src/Editor/__init__.py @@ -19,7 +19,7 @@ from Editor import qrc_resources from Editor import __about__ from Editor import FindReplace from Editor.Interpreter import Interpreter, Lambda -from Editor import CustomQsciEditor +from Editorimport CustomQsciEditor from Editor.Parser import Parser @@ -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 diff --git a/src/example.pdf b/src/example.pdf new file mode 100644 index 0000000..cd43dc3 Binary files /dev/null and b/src/example.pdf differ