Skip to content
This repository has been archived by the owner on Oct 6, 2020. It is now read-only.

Commit

Permalink
Change pyc files to py, fix #1
Browse files Browse the repository at this point in the history
Signed-off-by: Giorgio Wicklein <giowckln@gmail.com>
  • Loading branch information
giowck committed Mar 24, 2014
1 parent b55cea4 commit aed6dca
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 8 deletions.
4 changes: 2 additions & 2 deletions components/sync_framework/dropboxsyncdriver.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -334,12 +334,12 @@ void DropboxSyncDriver::startRequest()
else
pythonInterpreterPath = "python2.7";
QString path = QApplication::applicationDirPath().append("/sync/");
path.append("dropbox_client.pyc");
path.append("dropbox_client.py");
args.append(path);
#endif
#ifdef Q_WS_X11
pythonInterpreterPath = "python2";
args.append("/usr/share/symphytum/sync/dropbox_client.pyc");
args.append("/usr/share/symphytum/sync/dropbox_client.py");
#endif

//decode access token
Expand Down
8 changes: 2 additions & 6 deletions doc/deployment/README
Original file line number Diff line number Diff line change
Expand Up @@ -19,18 +19,14 @@ Prepare Dropbox SDK
patch -p1 < *.patch
4. Go to dropbox folder in the sdk folder
delete all .pyc files and remove Makefile
compile all python files
python -m compileall .
delete all .py files
compile dropbox_client.py
5. Copy dropbox_client.pyc and the dropbox folder to somewhere for later use
5. Copy dropbox_client.py and the dropbox folder to somewhere for later use

Windows:
1. Prepare dropbox client (windows exe) as described in "pyinstaller dropbox howto.txt"
2. Open and compile symphytum.iss after review

OS X:
1. Move pyc files to app boundle in the sync subfolder where the binary is
1. Move py files to app boundle in the sync subfolder where the binary is
2. Use macdeployqt
3. Add to Info.plist:
<key>NSPrincipalClass</key>
Expand Down

0 comments on commit aed6dca

Please sign in to comment.