restructured project folders

This commit is contained in:
Bachir Soussi Chiadmi
2017-06-06 11:43:20 +02:00
parent 6819a2645b
commit cdc9a7cbb8
46 changed files with 13 additions and 4 deletions
+1
View File
@@ -1,3 +1,4 @@
assets/scss/*.css
classes/__pycache__
build
Cascade.egg-info

Before

Width:  |  Height:  |  Size: 215 KiB

After

Width:  |  Height:  |  Size: 215 KiB

Before

Width:  |  Height:  |  Size: 121 KiB

After

Width:  |  Height:  |  Size: 121 KiB

Before

Width:  |  Height:  |  Size: 7.7 KiB

After

Width:  |  Height:  |  Size: 7.7 KiB

Before

Width:  |  Height:  |  Size: 53 KiB

After

Width:  |  Height:  |  Size: 53 KiB

View File
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -18,7 +18,7 @@ from PyQt5.QtWidgets import QWidget, QLabel, QHBoxLayout, QVBoxLayout, QSplitter
from classes import highlighter
import markdown2
import markdown
import json
@@ -247,8 +247,8 @@ class MarkdownEditor(QWidget):
# self.tabs.setTabText(i, "* "+self.tabs.tabText(i))
def refreshViewer(self):
markdown = self.editor.toPlainText()
html = markdown2.markdown(markdown)
md = self.editor.toPlainText()
html = markdown.markdown(md)
self.viewer.setHtml(html)
def save(self):
+3 -1
View File
@@ -14,7 +14,8 @@ from PyQt5 import QtCore
from PyQt5.QtCore import QSettings, QCoreApplication
import json
import git
# import git
# from pygit2 import Repository
from classes import server, sasscompiler, md2html
@@ -210,6 +211,7 @@ class Core():
self.changeCWD(cwd)
self.loadDocSettings()
self.summary = json.loads(open(os.path.join(cwd,'.config/summary.json')).read())
# TODO: try python-pygit2 arch package
# self.repository = git.Repo.init(cwd)
# TODO: set git config user.name & user.email
# self.repository
View File
+6
View File
@@ -1,6 +1,12 @@
from setuptools import setup, find_packages
setup(
name="Cascade",
version="0.0.1",
packages=find_packages(),
entry_points={
'gui_scripts': [
'cascade = cascade.main:__main__',
]
}
)