From 2c215ef0c6e1021be97406d6b045cf51d302deff Mon Sep 17 00:00:00 2001 From: ingvar1995 Date: Sat, 30 Apr 2016 13:06:07 +0300 Subject: [PATCH] docs update --- docs/compile.md | 13 +++++++++++++ docs/install.md | 41 ++++++++++++++++++++++------------------- src/util.py | 2 +- 3 files changed, 36 insertions(+), 20 deletions(-) create mode 100644 docs/compile.md diff --git a/docs/compile.md b/docs/compile.md new file mode 100644 index 0000000..cf3af40 --- /dev/null +++ b/docs/compile.md @@ -0,0 +1,13 @@ +You can compile Toxygen using [PyInstaller](http://www.pyinstaller.org/) +Install PyInstaller: +``pip install pyinstaller`` + +On Linux: + +``pyinstaller --windowed main.py`` + +On Windows: + +``pyinstaller --windowed --icon images/icon.ico main.py`` + +Don't forget to copy /images/, /sounds/, /translations/, /styles/, to /dist/main/ \ No newline at end of file diff --git a/docs/install.md b/docs/install.md index 679c926..7d2f877 100644 --- a/docs/install.md +++ b/docs/install.md @@ -9,33 +9,36 @@ 3. Install PyAudio: ``python -m pip install pyaudio`` 4. [Download toxygen](https://github.com/xveduk/toxygen/archive/master.zip) 5. Unpack archive -6. Download latest [libtox.dll](https://build.tox.chat/view/libtoxcore/job/libtoxcore_build_windows_x86_shared_release/lastSuccessfulBuild/artifact/libtoxcore_build_windows_x86_shared_release.zip) build, download latest [libsodium.a](https://build.tox.chat/view/libsodium/job/libsodium_build_windows_x86_static_release/lastSuccessfulBuild/artifact/libsodium_build_windows_x86_static_release.zip) build, put it into \src\libs\ +6. Download latest libtox.dll build, download latest libsodium.a build, put it into \src\libs\ 7. Run \src\main.py +[libtox.dll for 32-bit Python](https://build.tox.chat/view/libtoxcore/job/libtoxcore_build_windows_x86_shared_release/lastSuccessfulBuild/artifact/libtoxcore_build_windows_x86_shared_release.zip) + +[libtox.dll for 64-bit Python](https://build.tox.chat/view/libtoxcore/job/libtoxcore_build_windows_x86-64_shared_release/lastSuccessfulBuild/artifact/libtoxcore_build_windows_x86-64_shared_release.zip) + +[libsodium.a for 32-bit Python](https://build.tox.chat/view/libsodium/job/libsodium_build_windows_x86_static_release/lastSuccessfulBuild/artifact/libsodium_build_windows_x86_static_release.zip) + +[libsodium.a for 64-bit Python](https://build.tox.chat/view/libsodium/job/libsodium_build_windows_x86-64_static_release/lastSuccessfulBuild/artifact/libsodium_build_windows_x86-64_static_release.zip) + ### Linux -1. Install Python2.7: ``sudo apt-get install python2.7`` -2. [Install PySide](https://wiki.qt.io/PySide_Binaries_Linux) *(PyQt4 support will be added later)* -3. Install PyAudio: ``pip install pyaudio`` -4. [Download toxygen](https://github.com/xveduk/toxygen/archive/master.zip) -5. Unpack archive -6. Install [toxcore](https://github.com/irungentoo/toxcore/blob/master/INSTALL.md) in your system -7. Run app: +- Install Python2.7: +``sudo apt-get install python2.7`` +- [Install PySide](https://wiki.qt.io/PySide_Binaries_Linux) *(PyQt4 support will be added later)* +- Install PyAudio: +```bash +sudo apt-get install portaudio19-dev +sudo pip install pyaudio +``` +- [Download toxygen](https://github.com/xveduk/toxygen/archive/master.zip) +- Unpack archive +- Install [toxcore](https://github.com/irungentoo/toxcore/blob/master/INSTALL.md) in your system (install in /usr/lib/) +- Run app: ``python main.py`` ## Use precompiled binary: [Check our releases page](https://github.com/xveduk/toxygen/releases) ## Compile Toxygen -You can compile Toxygen using [PyInstaller](http://www.pyinstaller.org/): - -On Linux: - -``pyinstaller --windowed main.py`` - -On Windows: - -``pyinstaller --windowed --icon images/icon.ico main.py`` - -Don't forget to copy /images/, /sounds/, /translations/, /styles/, to /dist/main/ +Check [compile.md](/docs/compile.md) for more info diff --git a/src/util.py b/src/util.py index 0a63288..5e39141 100644 --- a/src/util.py +++ b/src/util.py @@ -3,7 +3,7 @@ import time from platform import system -program_version = '0.1' +program_version = '0.1.1' def log(data):