From 9ad2adaf5a6bbca88dc85f2499d0b1bb964ad9ae Mon Sep 17 00:00:00 2001 From: ingvar1995 Date: Thu, 31 Mar 2016 23:11:42 +0300 Subject: [PATCH] install update --- docs/install.md | 42 +++++++++++++++++++++++++++++++++--------- src/images/icon.ico | Bin 0 -> 1150 bytes 2 files changed, 33 insertions(+), 9 deletions(-) create mode 100755 src/images/icon.ico diff --git a/docs/install.md b/docs/install.md index 39dbda4..417c464 100644 --- a/docs/install.md +++ b/docs/install.md @@ -1,12 +1,36 @@ -# HOW TO INSTALL TOXYGEN: +# How to install Toxygen -1. [Install Python 2.7 in your system](https://wiki.python.org/moin/BeginnersGuide/Download) +## From source code (recommended for developers) + +### Windows + +1. [Download and install latest Python 2.7](https://www.python.org/downloads/windows/) 2. [Install PySide](https://pypi.python.org/pypi/PySide/1.2.4) *(PyQt4 support will be added later)* -4. [Download toxygen](https://github.com/xveduk/toxygen/archive/master.zip) -5. Unpack archive -6. For Linux users - install [toxcore](https://github.com/irungentoo/toxcore/blob/master/INSTALL.md), for Windows users - download [libtox.dll](https://build.tox.chat/view/libtoxcore/job/libtoxcore_build_windows_x86_shared_release/lastSuccessfulBuild/artifact/libtoxcore_build_windows_x86_shared_release.zip), download [libsodium.a] (https://build.tox.chat/view/libsodium/job/libsodium_build_windows_x86_static_release/lastSuccessfulBuild/artifact/libsodium_build_windows_x86_static_release.zip), put into /src/libs/ -7. Run src/main.py +3. [Download toxygen](https://github.com/xveduk/toxygen/archive/master.zip) +4. Unpack archive +5. 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. Run \src\main.py -# Supported OS: -- Windows -- Linux + +### Linux + +1. [Install PySide](https://wiki.qt.io/PySide_Binaries_Linux) *(PyQt4 support will be added later)* +2. [Download toxygen](https://github.com/xveduk/toxygen/archive/master.zip) +3. Unpack archive +4. Install [toxcore](https://github.com/irungentoo/toxcore/blob/master/INSTALL.md) in your system +5. Run app: +``python src/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 src/main.py`` + +On Windows: + +``pyinstaller --windowed --icon images/icon.ico src/main.py`` diff --git a/src/images/icon.ico b/src/images/icon.ico new file mode 100755 index 0000000000000000000000000000000000000000..c8940940fc57b8c594b5ae9354d82c36089c5dbf GIT binary patch literal 1150 zcmb7@Jx{_=6oxO+T_#saln;eL!5}OOK{^43f@exF}dS&YD-M_GT8_j!F-atMeAc- zI2Ks9+x_ZvI#lorQ|F(zf8=FZ=4U9$rGKxVyU%eR^0|CWifQ_f>!VW1ln6rhMIBQk zFgU-`|Kd||CXe3Rn_K4Cb4;Bd7|!E7t&bLdhs=H8R=g1!VdYYpwcBl0d#@?`#~OOT zt6|lBVDub%h;!e`dc9sB-uXA+J@P(7?N3gf1NmSeh(69@9two$GCcOuv}IzAMuYRs zW|NwY=DYEpsq0O~dc98Y|FLdcStgyK*>slLc5D>Kpa%9)&*w$_pTj3%-gC^cZ?l-s S6+&Khi-o?QHLdy^g!}?-g*t8k literal 0 HcmV?d00001