Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix setup #84

Merged
merged 6 commits into from
Mar 7, 2019
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,12 @@ RUN apt-get update

# Install Dependencies
RUN apt-get install python3 python3-pip -y
RUN apt-get install notify-osd dbus-x11 python3-pyqt4 -y
RUN pip3 install --upgrade setuptools cryptography
RUN apt-get install notify-osd dbus-x11 libdbus-1-dev libdbus-glib-1-dev -y

COPY . /pyrdp

RUN cd /pyrdp \
&& python3 setup.py install
&& pip3 install -e .

# Create user
RUN useradd --create-home --home-dir /home/pyrdp pyrdp
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,16 +46,16 @@ PyRDP should work on Python 3.6 and up.
This tool has been tested to work on Python 3.6 on Linux (Ubuntu 18.04). It has not been tested on OSX and Windows.

## Installing
First, make sure to update setuptools so the setup script won't break:
First, make sure to install the prerequisite packages

```
sudo pip3 install --upgrade setuptools
sudo apt install libdbus-1-dev libdbus-glib-1-dev
```

You can now install PyRDP by running the setup script:
You can now install PyRDP by running the setup script with pip:

```
sudo python3 setup.py install
sudo pip3 install -e .
```

This should install all the dependencies required to run PyRDP.
Expand Down
Empty file added pyrdp/__init__.py
Empty file.
Empty file.
Empty file added pyrdp/layer/rdp/__init__.py
Empty file.
Empty file.
Empty file added pyrdp/parser/rdp/__init__.py
Empty file.
Empty file.
Empty file added pyrdp/pdu/rdp/__init__.py
Empty file.
Empty file.
3 changes: 3 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,11 @@
],
install_requires=[
'appdirs',
'cryptography',
'dbus-python',
'names',
'notify2',
'pyasn1',
'pycrypto',
'pyopenssl',
'PySide2',
Expand Down