Last active
August 29, 2015 13:56
-
-
Save oubiwann/8817387 to your computer and use it in GitHub Desktop.
A setup.hy for Hy Lang projects
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;; 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