Skip to content

Instantly share code, notes, and snippets.

@oubiwann
Last active August 29, 2015 13:56
Show Gist options
  • Save oubiwann/8817387 to your computer and use it in GitHub Desktop.
Save oubiwann/8817387 to your computer and use it in GitHub Desktop.
A setup.hy for Hy Lang projects
;; This can be called like so to build your Hy-based project:
;; $ hy setup.hy build
;;
(import
[setuptools
[setup find_packages]]
[hyhop
[meta]])
(setv kwargs {
"name" meta.display-name
"version" meta.version
"description" meta.description
"author" meta.author
"author_email" meta.author-email
"url" meta.url
"license" meta.license
"packages" (find_packages)
"package_data" {(str meta.library-name) ["*.hy"]}
"long_description" meta.long-description
"install_requires" meta.requires})
(kwapply (setup) kwargs)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment