add win32 support in setup.py

This commit is contained in:
speyrefitte
2014-11-13 14:25:12 +01:00
parent bc89e67974
commit 3e1b8e57eb
2 changed files with 14 additions and 4 deletions

View File

@@ -12,8 +12,17 @@ RDPY is fully implemented in python, except the bitmap uncompression algorithm w
### Depends
* python2.7
* python-qt4
#### Linux
Exemple from Debian based system :
```
sudo apt-get install python-qt4
```
#### Windows
[PyQt4](http://sourceforge.net/projects/pyqt/files/PyQt4/PyQt-4.11.3/PyQt4-4.11.3-gpl-Py2.7-Qt4.8.6-x32.exe)
[PyWin32](http://sourceforge.net/projects/pywin32/files/pywin32/Build%20218/pywin32-218.win32-py2.7.exe/download)
### Make
@@ -28,7 +37,7 @@ Or use PIP:
$ pip install rdpy
```
For virtualenv, tou need to link qt4 library to it:
For virtualenv, you need to link qt4 library to it:
```
$ ln -s /usr/lib/python2.7/dist-packages/PyQt4/ $VIRTUAL_ENV/lib/python2.7/site-packages/
$ ln -s /usr/lib/python2.7/dist-packages/sip.so $VIRTUAL_ENV/lib/python2.7/site-packages/

View File

@@ -1,9 +1,10 @@
#!/usr/bin/env python
import setuptools
from distutils.core import setup, Extension
setup(name='rdpy',
version='1.0',
version='1.0.1',
description='Remote Desktop Protocol in Python',
author='Sylvain Peyrefitte',
author_email='citronneur@gmail.com',