]> git.scottworley.com Git - snek/log
snek
3 years agoAdding py_modules fixes it master
Scott Worley [Thu, 11 Jun 2020 22:57:37 +0000 (15:57 -0700)]
Adding py_modules fixes it

3 years agoBuild with nix
Scott Worley [Thu, 11 Jun 2020 21:09:45 +0000 (14:09 -0700)]
Build with nix

This doesn't work:

  $ nix-build .
  $ ./result/bin/snek
  Traceback (most recent call last):
    File "/nix/store/...-python3.7-snek-1.0/bin/.snek-wrapped", line 6, in <module>
      from snek import main
  ModuleNotFoundError: No module named 'snek'

3 years agoAmir Rachum's entry_points example from https://amir.rachum.com/blog/2017/07/28/pytho...
Scott Worley [Thu, 11 Jun 2020 21:07:58 +0000 (14:07 -0700)]
Amir Rachum's entry_points example from https://amir.rachum.com/blog/2017/07/28/python-entry-points/