Commit 20118d07 authored by Claudio Gomes's avatar Claudio Gomes
Browse files

published version to pypi

parent 9c4ef4c0
......@@ -15,11 +15,25 @@ The UR robot can be controlled remotely in various ways:
3. Real-Time Data Exchange (RTDE):
Allows to send and receive data with up to 500 Hz
## Installing URInterface from pip
pip install urinterface
## Installing URInterface locally (for development and local use)
Change to the root directory of this project and:
pip install -e .
## Setting up dev environment in PyCharm.
1. Open the root of this repo as a new project from sources in PyCharm.
1. Make sure that most root folders are set as project source folders (Settings > Project Structure > Mark the folders as source folders )
1. Run the tests and install missing dependencies
## Installing UR Robot Simulator
......@@ -27,6 +41,28 @@ If using virtual box, then follow the instructions in https://www.universal-robo
If using Hyper-V, then install ubuntu VM and then install the UR Robot simulator.
## Publishing this package on pypi
Instructions adapted from:
Make sure to install dependencies:
pip install setuptools wheel twine
Create source distribution
python sdist
Create binary distribtion
python bdist_wheel
Upload package:
python -m twine upload dist/*
set user and password according to pypi's api token
......@@ -38,10 +74,9 @@ If using Hyper-V, then install ubuntu VM and then install the UR Robot simulator
### Failure to boot from ISO file
with the following error:
Signed image's hash is not allowed (DB).
No operating system was loaded. Your virtual machine may be configured incorrectly. Exit and re-configure...
The solution is to follow this guide:
......@@ -49,8 +84,7 @@ The solution is to follow this guide:
## Error when running the unit tests from PyCharm
Similar error:
Testing started at 08:54 ...
H:\srcctrl\gitlab\urinterface\venv\Scripts\python.exe "C:\Program Files\JetBrains\PyCharm Community Edition 2020.1.1\plugins\python-ce\helpers\pycharm\" --target
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment