Skip to content

fridgerator/GlassySnek

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GlassySnek

Linux instructions:

  1. make sure you have python-config executable in your path
    • python-config might not be symlinked on your computer, it is an executable that comes with a standard python installation
    • on mine (Arch linux), it was /usr/bin/python3.6m-config and I symlinked it to /usr/bin/python-config
  2. install poetry: curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py | python
  3. run poetry install
  4. cd into c and run sh go.sh
  5. cp c/libglassysnek.* to /usr/local/lib
  6. in src/lib_glassysnek.cr change the ldflags to whatever the output of python-config --ldflags is
  7. run crystal src/GlassySnek.cr

Installation

  1. Add the dependency to your shard.yml:

    dependencies:
      GlassySnek:
        github: your-github-user/GlassySnek
  2. Run shards install

Usage

require "GlassySnek"

TODO: Write usage instructions here

Development

TODO: Write development instructions here

Contributing

  1. Fork it (https://github.com/your-github-user/GlassySnek/fork)
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request

Contributors

About

crystal -> python interop

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published