Generate Diceware passphrases

Properly includes the wordlist in the distribution. Adds functions to
load the list of words and return random ones based off the number
generator. The diceware module was restructured and an inefficiency in
numgen() was corrected.
This commit is contained in:
2016-11-07 22:49:08 -05:00
parent f904ef2e2f
commit ab5cfd013e
3 changed files with 56 additions and 17 deletions

View File

@@ -17,7 +17,7 @@
from distutils.core import setup
NAME = "Dicekey"
VERSION = "1.2.0-prealpha"
VERSION = "2.0.0-prealpha"
AUTHOR = "Kris Lamoureux"
AUTHOR_EMAIL = "KrisPublicEmail@gmail.com"
URL = "https://github.com/Kris619/Dicekey/"
@@ -33,5 +33,5 @@ setup(
url=URL,
scripts = ["dicekey/dicekey"],
py_modules = ["dicekey.core", "dicekey.diceware"],
package_data={"dicekey": ["dicekey/wordlist.asc"]}
data_files = [("dicekey/wordlist.asc", '')]
)