Skip to content
Snippets Groups Projects
Commit 43a2a486 authored by ulif's avatar ulif
Browse files

Format sample stanza to render as Python code.

parent 5ed23f0e
No related branches found
No related tags found
No related merge requests found
......@@ -42,21 +42,19 @@ generate.
Finally, to register the source, add some stanza in `setup.py` of your
project that looks like::
...
# ...
setup(
...
# ...
entry_points={
'console_scripts': [
'diceware = diceware:main',
],
# console scripts and other entry points...
'diceware_random_sources': [
'myrandom = mypkg.mymodule:MyRandomSource',
'myothersrc = mypkg.mymodule:MyOtherSource',
],
},
...
# ...
)
...
# ...
Here the `myrandom` and `myothersrc` lines register random sources that
(if installed) `diceware` will find on startup and offer to users under
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment