dicekey/setup.py
Kris Lamoureux f904ef2e2f
Fix the number generator
The number generator disproportionately favors digits 1-5 over 6. This
fixes it using random's randint() function and the SystemRandom class.
Function numgen() will now always return a list.
2016-11-05 20:40:11 -04:00

38 lines
1.2 KiB
Python

# Dicekey. A Diceware password generator.
# Copyright (C) 2016 Kris Lamoureux
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, version 3 of the License.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
# Built-in
from distutils.core import setup
NAME = "Dicekey"
VERSION = "1.2.0-prealpha"
AUTHOR = "Kris Lamoureux"
AUTHOR_EMAIL = "KrisPublicEmail@gmail.com"
URL = "https://github.com/Kris619/Dicekey/"
DESCRIPTION = "A Diceware password generator"
setup(
name=NAME,
version=VERSION,
description=DESCRIPTION,
author=AUTHOR,
author_email=AUTHOR_EMAIL,
license="GNU GPLv3",
url=URL,
scripts = ["dicekey/dicekey"],
py_modules = ["dicekey.core", "dicekey.diceware"],
package_data={"dicekey": ["dicekey/wordlist.asc"]}
)