Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
MCViz
MCViz.web
Commits
20297fe9
Commit
20297fe9
authored
Dec 22, 2014
by
Tim Brooks
Browse files
Move app into mcviz namespace
parent
cdcecbb3
Changes
4
Hide whitespace changes
Inline
Side-by-side
mcviz/__init__.py
0 → 100644
View file @
20297fe9
from
pkgutil
import
extend_path
__path__
=
extend_path
(
__path__
,
__name__
)
mcviz/web/__init__.py
0 → 100644
View file @
20297fe9
from
mcviz.web.app
import
APP
mc
web
viz.py
→
mcviz
/web/app
.py
View file @
20297fe9
...
...
@@ -16,15 +16,15 @@ APP = Flask(__name__)
APP
.
logger
.
addHandler
(
FILE_HANDLER
)
APP
.
config
[
'UPLOAD_FOLDER'
]
=
UPLOAD_FOLDER
APP
.
config
[
'RENDER_FOLDER'
]
=
RENDER_FOLDER
from
mcviz.logger
import
log
from
mcviz.logger
import
LOG
for
handler
in
APP
.
logger
.
handlers
:
log
.
addHandler
(
handler
)
LOG
.
addHandler
(
handler
)
from
mcviz.options
import
parse_options
from
mcviz.tools.tools
import
tool_classes
from
mcviz.graph
import
EventGraph
from
mcviz.workspace
import
GraphWorkspace
from
url_hash
import
url_hash
from
mcviz.web.
url_hash
import
url_hash
def
get_resource_path
(
folder
,
file_name
):
"""Return absolute path to file in a resource folder"""
...
...
url_hash.py
→
mcviz/web/
url_hash.py
View file @
20297fe9
File moved
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment