Project templates for bootstrapping Hy projects #2683
kovan
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I've put together project templates that make it easy to start a new Hy project with the most popular Python tools:
cookiecutter gh:kovan/cookiecutter-hypdm init --cookiecutter gh:kovan/cookiecutter-hy(uses the cookiecutter template)copier copy gh:kovan/copier-hy my-projectpoetry self add poetry-hy-pluginthenpoetry new-hy my-project(PyPI)pipx inject hatch hatch-hythenhatch config set template.plugins.hy.src-layout truethenhatch new my-project(PyPI)All templates generate the same project structure:
They handle the non-obvious bits:
*.hyin package-data so.hyfiles get included in wheelshyas both build and runtime dependencyconftest.pywithpytest_collect_filehook for.hytest discoveryRepo: kovan/hy
Feedback welcome!
Beta Was this translation helpful? Give feedback.
All reactions