kiteco-public/kite-python/kite_ml/README.md
2021-12-31 23:54:19 -08:00

716 B

Setup

  • Ensure python 3 is installed

  • Ensure pip is installed

  • Create a virtual env

    OSX

    python3 -m venv env
    

    Azure (pip is not installed by default?)

    python3.6 -m venv env --without-pip
    
  • Activate virtual env

source env/bin/activate

Azure - install pip in the venv

curl https://bootstrap.pypa.io/get-pip.py | python
  • Install requirements
pip install -r requirements.txt
  • Install Kite ML in venv. If you're developing and want changes to take immediate effect, replace "install" with "develop"
./setup.py install

Testing

  • Make sure you are in an activated Virtual env
  • Run pytest from this directory