Skip to content

Commit

Permalink
Update package metadata (#817)
Browse files Browse the repository at this point in the history
* Update package metadata

* remove manifest check

* Format using taplo

Signed-off-by: Bernát Gábor <gaborjbernat@gmail.com>

* update version

Co-authored-by: Bernát Gábor <gaborjbernat@gmail.com>
  • Loading branch information
ofek and gaborbernat committed Feb 25, 2022
1 parent 8fe75bf commit 2ecc668
Show file tree
Hide file tree
Showing 6 changed files with 46 additions and 81 deletions.
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.15.0"]
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.

0 comments on commit 2ecc668

Please sign in to comment.