fix importing error and add readme
This commit is contained in:
parent
dc1144c8f6
commit
366dfcecd7
5 changed files with 20 additions and 11 deletions
13
README.md
13
README.md
|
@ -1,4 +1,13 @@
|
||||||
# Clochur
|
# Clochur
|
||||||
A Scheme-like typesetting LISP editor that using SILE typesetting Engine.
|
A Scheme-like typesetting LISP interpreter and editor that using SILE typesetting Engine.
|
||||||
|
|
||||||
彩虹模式上色:https://gist.github.com/Yoxem/d0dd68161185947416773edd93b96344
|
== Packaging ==
|
||||||
|
|
||||||
|
To make a wheel package, run:
|
||||||
|
|
||||||
|
python setup.py bdist_wheel
|
||||||
|
|
||||||
|
and then:
|
||||||
|
|
||||||
|
cd dist
|
||||||
|
pip3 install Clochur-x.y.z-py3-none-any.whl
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
import re
|
import re
|
||||||
from PyQt5.Qsci import QsciLexerCustom, QsciScintilla
|
from PyQt5.Qsci import QsciLexerCustom, QsciScintilla
|
||||||
from PyQt5.QtGui import *
|
from PyQt5.QtGui import *
|
||||||
from Parser import Parser
|
from Editor.Parser import Parser
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
from PyQt5.QtGui import *
|
from PyQt5.QtGui import *
|
||||||
from PyQt5.Qsci import QsciScintilla
|
from PyQt5.Qsci import QsciScintilla
|
||||||
|
|
||||||
from ClochurLexer import ClochurLexer
|
from Editor.ClochurLexer import ClochurLexer
|
||||||
|
|
||||||
class CustomQsciEditor(QsciScintilla):
|
class CustomQsciEditor(QsciScintilla):
|
||||||
def __init__(self, parent=None):
|
def __init__(self, parent=None):
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
import re
|
import re
|
||||||
import xml.etree.ElementTree as ET
|
import xml.etree.ElementTree as ET
|
||||||
from Parser import Parser
|
from Editor.Parser import Parser
|
||||||
|
|
||||||
'''
|
'''
|
||||||
macro expansion for example:
|
macro expansion for example:
|
||||||
|
|
|
@ -14,13 +14,13 @@ from PyQt5 import QtWebEngineWidgets
|
||||||
from PyQt5.QtWidgets import *
|
from PyQt5.QtWidgets import *
|
||||||
from PyQt5.Qsci import QsciScintilla
|
from PyQt5.Qsci import QsciScintilla
|
||||||
|
|
||||||
import qrc_resources
|
from Editor import qrc_resources
|
||||||
|
|
||||||
import __about__
|
from Editor import __about__
|
||||||
import FindReplace
|
from Editor import FindReplace
|
||||||
from Interpreter import Interpreter, Lambda
|
from Editor.Interpreter import Interpreter, Lambda
|
||||||
import CustomQsciEditor
|
from Editor import CustomQsciEditor
|
||||||
from Parser import Parser
|
from Editor.Parser import Parser
|
||||||
|
|
||||||
|
|
||||||
sile_command = 'sile'
|
sile_command = 'sile'
|
||||||
|
|
Loading…
Reference in a new issue