- make sure you have
python-config
executable in your pathpython-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
- install poetry:
curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py | python
- run
poetry install
cd
intoc
and runsh go.sh
- cp
c/libglassysnek.*
to/usr/local/lib
- in
src/lib_glassysnek.cr
change the ldflags to whatever the output ofpython-config --ldflags
is - run
crystal src/GlassySnek.cr
-
Add the dependency to your
shard.yml
:dependencies: GlassySnek: github: your-github-user/GlassySnek
-
Run
shards install
require "GlassySnek"
TODO: Write usage instructions here
TODO: Write development instructions here
- Fork it (https://github.com/your-github-user/GlassySnek/fork)
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request
- Nick Franken - creator and maintainer