Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update package metadata #229

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
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
8 changes: 0 additions & 8 deletions MANIFEST.in

This file was deleted.

6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,12 @@ On Linux, this module makes use of the xclip or xsel commands, which should come

Otherwise on Linux, you will need the gtk or PyQt4 modules installed.

Building
--------

1. `pip install build`
2. `python -m build -s`

Support
-------

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

[project]
name = "pyperclip"
description = "A cross-platform clipboard module for Python. (Only handles plain text for now.)"
readme = "README.md"
license = "BSD-3-Clause"
authors = [
{ name = "Al Sweigart", email = "al@inventwithpython.com" },
]
keywords = [
"clip",
"clipboard",
"copy",
"paste",
"xclip",
"xsel",
]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Environment :: MacOS X",
"Environment :: Win32 (MS Windows)",
"Environment :: X11 Applications",
"Intended Audience :: Developers",
"License :: OSI Approved :: BSD License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 2",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3",
"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",
]
requires-python = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*, !=3.5.*, !=3.6.*"
dynamic = ["version"]

[project.urls]
Homepage = "https://github.com/asweigart/pyperclip"

[tool.hatch.version]
path = "src/pyperclip/__init__.py"
50 changes: 0 additions & 50 deletions setup.py

This file was deleted.

3 changes: 2 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
# and then run "tox" from this directory.

[tox]
envlist = py27, py34, py35, py36, py37, py38, py39
isolated_build = true
envlist = py27, py37, py38, py39, py310, py311

[testenv]
deps =
Expand Down