Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ Install

or manually::

python setup.py install
pip install .



Expand All @@ -38,7 +38,7 @@ Contributions welcome and gratefully appreciated!
Requirements
============

Python 2 (version 2.7 or later), or Python 3 (version 3.4 or later). Running module unit tests on Python 2 requires ``mock`` to be installed.
Python 3 (version 3.4 or later).



Expand Down
42 changes: 42 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
[build-system]
requires = ["setuptools >= 77.0.3"]
build-backend = "setuptools.build_meta"

[project]
name = "xkcdpass"
version = "1.20.0"
description = "Generate secure multiword passwords/passphrases, inspired by XKCD"
readme = "README.rst"
authors = [{ name = "Steven Tobin", email = "[email protected]" }]
license = "BSD-3-Clause"
license-files = ["LICENSE.BSD"]
requires-python = ">=3.6"

classifiers = [
'Development Status :: 5 - Production/Stable',
"Environment :: Console",
'Operating System :: OS Independent',
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
]

[project.urls]
Homepage = "https://github.com/redacted/XKCD-password-generator"
Repository = "https://github.com/redacted/XKCD-password-generator.git"
Issues = "https://github.com/redacted/XKCD-password-generator/issues"

[project.scripts]
xkcdpass = "xkcdpass.xkcd_password:main"

[tool.setuptools]
include-package-data = true

[tool.setuptools.packages.find]
include = ["xkcdpass*"]
exclude = ["examples", "*.tests", "*.tests.*", "tests.*", "tests"]
40 changes: 0 additions & 40 deletions setup.py

This file was deleted.