add a command script
This commit is contained in:
1 parent
45c41b8ad0
commit
8b792687cf
2 files changed
+8
No files matched your search
Executable
+5
@@ -0,0 +1,5 @@
|
|||||||
|
#!/usr/bin/env python3
|
||||||
|
|
||||||
|
import funniest
|
||||||
|
|
||||||
|
print(funniest.joke())
|
||||||
@@ -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"],
|
||||||
)
|
)
|
||||||
Reference in new issue
Block a user