Skip to content

Instantly share code, notes, and snippets.

@ipmb ipmb/create_shiv.sh
Created Oct 25, 2018

Embed
What would you like to do?
shiv -o test.pyz -e pytest:main .
./test.pyz --pyargs my_tests
echo $?
def test_test():
assert 1 == 0
from setuptools import setup
setup(name="test", version="0.1", py_modules=["my_tests"], install_requires=["pytest"])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.