docs update
This commit is contained in:
parent
f5d129578e
commit
2c215ef0c6
3 changed files with 36 additions and 20 deletions
13
docs/compile.md
Normal file
13
docs/compile.md
Normal file
|
@ -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/
|
|
@ -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
|
||||
|
|
|
@ -3,7 +3,7 @@ import time
|
|||
from platform import system
|
||||
|
||||
|
||||
program_version = '0.1'
|
||||
program_version = '0.1.1'
|
||||
|
||||
|
||||
def log(data):
|
||||
|
|
Loading…
Reference in a new issue