Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 18 Next »

Tools

Three prerequisites are needed: An editor, GIT Bash and Python. All developers machines are Windows 7 professional.

  1. Install an Editor - something along the lines of Emacs, Visual Studio, Notepad++, Vim or Sublime, which allows intelligent editing of Python files as well as running flake8 as you develop.
  2. Install GIT Bash from https://git-scm.com/downloadsThis will give you git as well as a better shell. ConEmu is also a nice tool for operating a multiplicity of shells.
  3. Install Python2.7 from https://www.python.org/download/releases/2.7/ - the usual install path is c:\Python27
  4. Install virtualenv to python2.7  by running c:\Python27\Scripts\pip install virtualenv
  5. Setup DevPi Client

Running Validation

  1. Open a GIT BASH shell
  2. Go to a folder of your choice and pull the code base down:See Creating Validation (and others) Build and Releases.

  3. Run

    cd $(CHECKOUT_FOLDER)\rr_validation

  4. Create virtual environment:

    /c/Python27/scripts/virtualenv venv

  5. Activate the environment

    venv/scripts/activate

  6. Install the requirements

    pip install -r requirements.txt

  7. Run Validation

    python scripts/val.py


The following steps may need to be done in addition to installing PyWin via Pip / requirements.txt

xcopy /s /Y venv\Lib\site-packages\pywin32_system32\pythoncom27.dll venv\Lib\site-packages\win32\
xcopy /s /Y venv\Lib\site-packages\pywin32_system32\pywintypes27.dll venv\Lib\site-packages\win32\

  • No labels