Skip to main content
Python Software Foundation 20th Year Anniversary Fundraiser  Donate today!

Driver for the XCAM rack to control and readout CCD sensors

Project description

Driver to control the XCAM rack.

Build and Test Commands

Install this package:

pip install xcam --extra-index-url http://lab-linux-server.estec.esa.int/pypiserver --trusted-host lab-linux-server.estec.esa.int

Install build and test tools:

pip install docutils
pip install coverage
pip install pylint
pip install nose
pip install tox
pip install plantuml

From the root directory (rpc) run the following commands:

pylint --rcfile=pylint.cfg xcam
nosetests --with-coverage --cover-erase --cover-html
coverage run -m unittest discover -b -v -s .
coverage report
python -m unittest discover
python setup.py bdist_wheel

To build the README.rst documentation:

pygmentize -S default -f html -a .python > style.css
python %VIRTUAL_ENV%/Scripts/rst2html.py --link-stylesheet --cloak-email-addresses --toc-top-backlinks --syntax-highlight=short --stylesheet-dirs=. --stylesheet README.css README.rst esapy_rpc.html

Syntax highlighting using pygments: http://pygments.org/docs/cmdline/

PyPI Register / Upload commands:

python setup.py bdist_wheel
# For PyPI LIVE use: https://pypi.python.org/pypi
python setup.py register -r https://testpypi.python.org/pypi
# For PyPI LIVE use: pypi
python setup.py bdist_wheel upload -r pypitest
# or,
python setup.py bdist_wheel upload -r http://lab-linux-server.estec.esa.int:9999

To authenticate automatically create a file named .pypirc in your $HOME directory,:

[distutils]
index-servers =
    sci-fv

[sci-fv]
repository: http://lab-linux-server.estec.esa.int/packages
username: lab
password: <password>

Now the upload command can be executed without an authentication prompt using,:

python setup.py bdist_wheel upload -r sci-fv

If the above has

Make sure the .pypirc file is defined in your home folder before running the above commands.

Project details


Download files

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

Files for xcam, version 0.1.0
Filename, size File type Python version Upload date Hashes
Filename, size xcam-0.1.0-py2.py3-none-any.whl (44.7 kB) File type Wheel Python version 3.6 Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page