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.
Metadata
Release files for xcam 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| xcam-0.1.0-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details |
Release files / xcam-0.1.0-py2.py3-none-any.whl
| Download URL | xcam-0.1.0-py2.py3-none-any.whl |
|---|---|
| Size | 44.7 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
7ca5b1ad17a03ccf5b4917f221d8785ee538c1a055b9556f959831b7fee5e961
|
|
BLAKE2b-256 checksum How to use checksums |
cbed12488ec59cf8fa39660f5cad82ef0a153852347aeb0e6c2bf0fdd3dc50b2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |