Skip to content

Commit 92bddaa

Browse files
committed
Remaove fanstatic
1 parent a0153d7 commit 92bddaa

56 files changed

Lines changed: 60778 additions & 99 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎Makefile‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ tests:
222222
@echo "Autobuild-tests for ZWave network finished."
223223

224224
autobuild-tests:
225-
$(NOSE) $(NOSEOPTS) tests/lib/autobuild tests/api/autobuild tests/manager/autobuild
225+
$(NOSE) $(NOSEOPTS) tests/lib/autobuild tests/api/autobuild tests/manager/autobuild tests/web/autobuild
226226
@echo
227227
@echo "Tests for ZWave network finished."
228228

‎setup-web.py‎

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -45,29 +45,29 @@
4545
version = pyozw_version,
4646
zip_safe = False,
4747
package_dir = {'' : 'src-web' },
48-
packages = find_packages('src-web', exclude=["scripts"]),
48+
packages = find_packages('src-web', exclude=["scripts", "libraries"]),
4949
install_requires = [
5050
'openzwave == %s' % pyozw_version,
5151
'Flask == 0.10.1',
5252
'Flask-WTF == 0.9.5',
5353
'Babel >= 1.0',
5454
'Flask-Babel == 0.9',
55-
'Flask-Fanstatic == 0.2.0',
56-
'fanstatic',
55+
#'Flask-Fanstatic == 0.2.0',
56+
#'fanstatic',
5757
#'js.bootstrap >= 3.3.1',
58-
'js.jquery >= 1.9.1',
58+
#'js.jquery >= 1.9.1',
5959
#'js.jquery_timepicker_addon >= 1.3',
60-
'js.jquery_datatables >= 1.10',
60+
#'js.jquery_datatables >= 1.10',
6161
'Flask-Themes >= 0.1.3',
6262
'WebOb >= 1.4',
6363
'Jinja2 >= 2.5.5',
6464
'gevent-socketio >= 0.3.6',
6565
'Flask-SocketIO >= 0.6.0',
66-
'js.socketio < 1.0.0',
66+
#'js.socketio < 1.0.0',
6767
'PyYAML >= 3.10',
6868
],
6969
#include_package_data=True,
7070
package_data={
71-
'pyozwweb': ['app/static/*/*', 'app/templates/*', 'app/templates/*/*'],
71+
'pyozwweb': ['app/static/*', 'app/static/*/*', 'app/static/*/*/*', 'app/templates/*', 'app/templates/*/*'],
7272
},
7373
)
1.52 MB
Binary file not shown.
255 KB
Binary file not shown.
280 KB
Binary file not shown.

‎src-web/pyozwweb/app/__init__.py‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
from flask import Flask, current_app, render_template, session, request
4343
from flask.ext.socketio import SocketIO, emit, join_room, leave_room, close_room, disconnect
4444

45-
from flask_fanstatic import Fanstatic
45+
#from flask_fanstatic import Fanstatic
4646
#from flask.ext.sqlalchemy import SQLAlchemy
4747

4848
from openzwave.network import ZWaveNetwork
@@ -133,8 +133,8 @@ def create_app(config_object='pyozwweb.config.DevelopmentConfig'):
133133
if settings.has_option(section, 'port'):
134134
app.config['PORT'] = settings.getint(section, 'port')
135135
#Flask stuff
136-
global fanstatic
137-
fanstatic = Fanstatic(app)
136+
#global fanstatic
137+
#fanstatic = Fanstatic(app)
138138
global socketio
139139
socketio = SocketIO(app)
140140
if not app.config['DEBUG']:

0 commit comments

Comments
 (0)