Difference: AMCTPythonSoftware (10 vs. 11)

Revision 1118 Aug 2016 - SemirayGirgisChyla

Line: 1 to 1
 
META TOPICPARENT name="HcalDTC"

AMCT Python Software

Changed:
<
<

General Explanations

>
>

AMCT Purpose

 
Changed:
<
<
AMCT(AMCThirteen): The goal is to develop a set of routines to automatically (i.e. without human intervention) test AMC13 hardware using python language. Tests will exercise the functionality of the AMC13 card(s) and report errors/failures.
>
>
The goal is to develop a set of routines to automatically (i.e. without human intervention) test AMC13 hardware using python language. Tests will exercise the functionality of the AMC13 card(s) and report errors/failures.
 The tool allows for a detailed testing of the AMC hardware in both supervised and non-supervised fashion and it is meant to be used as a part of the production and quality testing of the AMC13 hardware.
Added:
>
>

Installation

 For python tool, typically you need to use `virtualenv` to create a separate python environment and install all dependencies. It creates a folder which contains all the necessary executables to use the packages that a Python project would need. Before starting, make sure you have 'pip' and 'virtualenv'. Use your favorite package manager to install them.
Deleted:
<
<

Installation

 

Virtualenv Installation

Line: 29 to 29
 
  • pip install --upgrade pip
  • python setup.py develop
Changed:
<
<

Python 2.7.12 Installation to Virtualenv

>
>

Python 2.7.12 Installation

 
Changed:
<
<
Inside the virtualenv you can also install python 2.7.12 version (it is better than 2.6.X version) and ipython (python 2.6 version does not support ipython). Here is the installation of python-2.7.12 version.
>
>
If you dont have python 2.7.12 version (it is better than 2.6.X version) you can install it as following:
 
Line: 42 to 42
 
  • make
  • make install
  • export PATH=~/bin:~/python2.7/bin:~/vim/bin:$PATH
Deleted:
<
<
  • pip install ipython
 
Changed:
<
<
Now you have python 2.7.12 and ipython in virtualenv.
>
>
Now you have python 2.7.12. If you also want to install ipython:
  • pip install ipython
 

Running the AMCT Tool

Before running the AMCT tool you can look at the help options:
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2019 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback