Skip to main content

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.

Source Distributions

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

Built Distribution

xcam-0.1.0-py2.py3-none-any.whl (44.7 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file xcam-0.1.0-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for xcam-0.1.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 7ca5b1ad17a03ccf5b4917f221d8785ee538c1a055b9556f959831b7fee5e961
MD5 46061aa4783401c98cf37c98b29f7f3a
BLAKE2b-256 cbed12488ec59cf8fa39660f5cad82ef0a153852347aeb0e6c2bf0fdd3dc50b2

See more details on using hashes here.

Supported by

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