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 #817

Merged
merged 4 commits into from
Feb 25, 2022
Merged
Show file tree
Hide file tree
Changes from 3 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
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
- [docs] Add more examples
- [dev] Change github action job names
- [docs] Add additional examples for installation from git repos
- [packaging] Switch to [PEP 621](https://www.python.org/dev/peps/pep-0621/)

## 1.0.0

Expand Down
14 changes: 0 additions & 14 deletions MANIFEST.in

This file was deleted.

3 changes: 0 additions & 3 deletions noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
"flake8-bugbear==21.11.29",
"mypy==0.930",
"types-jinja2",
"check-manifest==0.47",
"packaging>=20.0",
"isort==5.10.1",
]
Expand Down Expand Up @@ -173,8 +172,6 @@ def lint(session):
"--warn-unused-ignores",
*files,
)
session.run("check-manifest")
session.run("python", "setup.py", "check", "--metadata", "--strict")


@nox.session(python=PYTHON_ALL_VERSIONS)
Expand Down
50 changes: 45 additions & 5 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,15 +1,55 @@
[build-system]
requires = ["setuptools", "wheel"]
build-backend = "setuptools.build_meta"
requires = ["hatchling>=0.14.0"]
gaborbernat marked this conversation as resolved.
Show resolved Hide resolved
build-backend = "hatchling.build"

[project]
name = "pipx"
description = "Install and Run Python Applications in Isolated Environments"
readme = "README.md"
license = "MIT"
requires-python = ">=3.7"
keywords = ["pip", "install", "cli", "workflow", "Virtual Environment"]
authors = [{ name = "Chad Smith", email = "chadsmith.software@gmail.com" }]
classifiers = [
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
]
dependencies = [
"argcomplete>=1.9.4",
"colorama>=0.4.4; sys_platform == 'win32'",
"importlib-metadata>=3.3.0; python_version < '3.8'",
"packaging>=20.0",
"userpath>=1.6.0",
]
dynamic = ["version"]

[project.urls]
Documentation = "https://pypa.github.io/pipx/"
"Source Code" = "https://github.com/pypa/pipx"
"Bug Tracker" = "https://github.com/pypa/pipx/issues"

[project.scripts]
pipx = "pipx.main:cli"

[tool.hatch.version]
source = "code"
path = "src/pipx/version.py"

[tool.hatch.build.targets.sdist]
include = ["/src", "/logo.png", "/pipx_demo.gif", "/*.md"]

[tool.isort]
profile = "black"
known_first_party = ["helpers", "package_info"]

[tool.pytest.ini_options]
markers = [
"all_packages: test install with maximum number of packages",
]
markers = ["all_packages: test install with maximum number of packages"]

[tool.black]
skip-magic-trailing-comma = true
45 changes: 0 additions & 45 deletions setup.cfg

This file was deleted.

14 changes: 0 additions & 14 deletions setup.py

This file was deleted.