toxygen/docs/install.md

42 lines
1.7 KiB
Markdown
Raw Normal View History

2016-03-31 22:11:42 +02:00
# How to install Toxygen
2016-03-16 17:06:15 +01:00
2016-03-31 22:11:42 +02:00
## From source code (recommended for developers)
### Windows
1. [Download and install latest Python 2.7](https://www.python.org/downloads/windows/)
2016-03-16 17:06:15 +01:00
2. [Install PySide](https://pypi.python.org/pypi/PySide/1.2.4) *(PyQt4 support will be added later)*
2016-04-24 13:09:29 +02:00
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\
7. Run \src\main.py
2016-03-31 22:11:42 +02:00
### Linux
2016-04-24 13:09:29 +02:00
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:
2016-04-05 19:42:28 +02:00
``python main.py``
2016-03-31 22:11:42 +02:00
## 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:
2016-04-05 19:42:28 +02:00
``pyinstaller --windowed --icon images/icon.ico main.py``
Don't forget to copy /images/, /sounds/, /translations/, /styles/, to /dist/main/