Halite Home

Uploading Wheels


I've bundled all my helper code into a wheel, but am struggling to install it correctly. My uploaded zip file looks like this:


And my install.sh is just:

# Install script for bot submissions
pip3 install hlt-0.1-py2.py3-none-any.whl

I get this import error meaning i have not installed my wheel correctly:

ImportError: No module named 'hlt'

Any idea what's going wrong?


You can't install things globally, which might be what is happening here. I don't believe virtualenvs are supported yet, so this may not work.


Instead, I included the helper package's source code in the zip and put a
pip install -e .
in the install.sh, which seems to have worked.