add a command script

This commit is contained in:
Josh Holtrop 2016-06-17 11:30:30 -04:00
parent 45c41b8ad0
commit 8b792687cf
2 changed files with 8 additions and 0 deletions

5
bin/funniest-joke Executable file
View File

@ -0,0 +1,5 @@
#!/usr/bin/env python3
import funniest
print(funniest.joke())

View File

@ -9,6 +9,9 @@ setup(name = "funniest",
license = "MIT",
packages = ["funniest"],
zip_safe = False,
test_suite = "nose.collector",
tests_require = ["nose"],
scripts = ["bin/funniest-joke"],
)