Skip to content
Open
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
12 changes: 12 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,18 @@ To install this tool for __Python 3__, execute the following:
sudo pip3 install colorama
sudo pip3 install websocket_client
sudo python3 setup.py install

To install this tool in a [virtual environment](https://pypi.python.org/pypi/virtualenv), execute the following steps:

# Set up the virtual environment. Replace $python_global with the path to your Python executable. "venv" is the name of the subdirectory that will be created, and can be anything.
$python_global -m virtualenv venv
sudo pip install pyserial
sudo pip install colorama
sudo pip install websocket_client
# Tell distutils to use the current environment's Python executable,
# which will then be handled by virtualenv.
sudo python setup.py build -e "/usr/bin/env python"
sudo python setup.py install

## Known Issues

Expand Down
7 changes: 6 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,12 @@
#!/usr/bin/env python

from mp import version
from distutils.core import setup
try:
from setuptools import setup
except ImportError:
from distutils.core import setup



setup(name='mpfshell',
version=version.FULL,
Expand Down