add a command script
This commit is contained in:
parent
45c41b8ad0
commit
8b792687cf
5
bin/funniest-joke
Executable file
5
bin/funniest-joke
Executable file
@ -0,0 +1,5 @@
|
|||||||
|
#!/usr/bin/env python3
|
||||||
|
|
||||||
|
import funniest
|
||||||
|
|
||||||
|
print(funniest.joke())
|
3
setup.py
3
setup.py
@ -9,6 +9,9 @@ setup(name = "funniest",
|
|||||||
license = "MIT",
|
license = "MIT",
|
||||||
packages = ["funniest"],
|
packages = ["funniest"],
|
||||||
zip_safe = False,
|
zip_safe = False,
|
||||||
|
|
||||||
test_suite = "nose.collector",
|
test_suite = "nose.collector",
|
||||||
tests_require = ["nose"],
|
tests_require = ["nose"],
|
||||||
|
|
||||||
|
scripts = ["bin/funniest-joke"],
|
||||||
)
|
)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user