Skip to main content

Python Laboratory Instrumentation COntrol

Project description

# PLICO: Python Laboratory Instrumentation COntrol

This is just a framework for a typical HW controlling application

## Installation

### Installing From the wheel ` pip install plico-XXX.whl `

In plico source dir ` pip install . `

During development you want to update use

` pip install -e . ` that install a python egg with symlinks to the source directory in such a way that chages in the python code are immediately available without the need for re-installing (beware of conf/calib files!)

### Uninstall

` pip uninstall plico `

## Administration Tool

For developers.

### Testing Never commit before tests are OK! To run the unittest and integration test suite execute in plico source dir

` python setup.py test `

### Creating a Conda environment Use the Anaconda GUI or in terminal

` conda create --name plico `

To create an environment with a specific python version

` conda create --name plico26 python=2.6 `

It is better to install available packages from conda instead of pip.

` conda install --name plico matplotlib scipy ipython numpy `

### Packaging and distributing

See https://packaging.python.org/tutorials/distributing-packages/#

To make a source distribution

` python setup.py sdist `

and the tar.gz is created in plico/dist

If it is pure Python and works on 2 and 3 you can make a universal wheel

` python setup.py bdist_wheel --universal `

Otherwise do a pure wheel

` python setup.py bdist_wheel `

The wheels are created in plico/dist. I suppose one can trash plico/build now and distribute the files in plico/dist

To upload on pip (but do you really want to make it public?)

` twine upload dist/* `

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

plico-0.13-py2.py3-none-any.whl (40.4 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page