Skip to content

Latest commit

 

History

History
69 lines (48 loc) · 2.11 KB

README.md

File metadata and controls

69 lines (48 loc) · 2.11 KB

Wirepas Gateway Transport Service

Documentation Status

Building the wheel

To build the source distribution and wheel file, make sure you have the wheel package installed

   pip install wheel

and then run

   py3clean .
   python3 setup.py clean --all
   python3 setup.py sdist bdist_wheel

A convenience script is available from the utils folder.

Installation

Before you attempt to build and install this package, please ensure that you have all the requirements met.

We highly recommend that you make your installation under a python virtual environment such as virtualenv or pipenv.

To install this package run (use -e for development mode)

   pip install [-e] .

Running inside a virtual environment

When running inside a virtual environment you will need to provide access to system libraries. You can achieve this by using --system-site-packages when setting up your environment or through vext.

If you opt to install vext, please install the PyGObject module with:

   pip install vext vext.gi

You also need to ensure that the following packages are installed inside the virtual environment (as well as their system dependencies):

   pip install pygobject gobject

Starting the service

Please read on how to configure and start the transport service