kiteco-public/kite-python/kite_ml
2021-12-31 23:54:19 -08:00
..
bin Contents — happy new year everyone 2021-12-31 23:54:19 -08:00
kite Contents — happy new year everyone 2021-12-31 23:54:19 -08:00
__init__.py Contents — happy new year everyone 2021-12-31 23:54:19 -08:00
.gitignore Contents — happy new year everyone 2021-12-31 23:54:19 -08:00
README.md Contents — happy new year everyone 2021-12-31 23:54:19 -08:00
requirements.txt Contents — happy new year everyone 2021-12-31 23:54:19 -08:00
setup.py Contents — happy new year everyone 2021-12-31 23:54:19 -08:00

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