Skip to content

Commit

Permalink
Switch from setup.py to pyproject.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
albertyw committed Oct 15, 2023
1 parent a5f098e commit 07a84a1
Show file tree
Hide file tree
Showing 2 changed files with 40 additions and 56 deletions.
40 changes: 40 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,43 @@
[project]
name = "req-update"
authors = [
{name = "Albert Wang", email = "git@albertyw.com"},
]
description = "Update python, node, go, docker, and other dependencies"
requires-python = ">=3.7"
keywords = ["dependencies"]
license = {text = "MIT"}
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"Natural Language :: English",
"Topic :: Software Development :: Version Control",
"License :: OSI Approved :: MIT License",
"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",
"Programming Language :: Python :: 3.12",
"Typing :: Typed",
]
dependencies = []
dynamic = ["version", "readme"]

[project.urls]
"Homepage" = "https://github.com/albertyw/req-update"

[project.scripts]
req_update = "req_update.req_update:main"

[tool.setuptools.dynamic]
version = {attr = "req_update.req_update.__version__"}
readme = {file = "README.md", content-type="text/markdown"}

[options.package_data]
req_update = ["py.typed"]

[tool.ruff]
select = ["E", "F", "B"]
ignore = ["B010"]
Expand Down
56 changes: 0 additions & 56 deletions setup.py

This file was deleted.

0 comments on commit 07a84a1

Please sign in to comment.