Skip to content

siar7178/amigos3

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AMIGOS III operations command line interface

Development

Getting started

Dependencies in the development environment are managed with Conda.

  1. Initialize submodules (run in repository root directory)

    $ git submodule init && git submodule update
    
  2. Install Miniconda or Anoconda

  3. Create the environment (run in repository root directory)

    $ conda env create -f environment.yml
    

    This will create a 'amigos' environment with the correct version of python and dependencies for the project.

  4. Activate the environment

    $ conda activate amigos
    
  5. Install amigos CLI commands (local to source directory)

    $ python setup.py develop
    

Running tests

Due to poor support for Python 2.6, tests are run in a separate Python 2.7 environment. Easy way:

make test

Hard way:

  1. from the repository directory, run

    $ conda env create -f environment-testing.yml
    

    This will create a 'amigos' environment with the correct version of python and dependencies for the project.

  2. Activate the environment

    $ conda activate amigos-testing
    
  3. Run tests

    $ pytest --ignore amigos/ext
    

Deployment

TODO

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 97.5%
  • Shell 2.2%
  • Makefile 0.3%