Skip to content

Commit b0a6126

Browse files
committed
build: modernize package configuration with pyproject.toml
1 parent 925c90c commit b0a6126

File tree

2 files changed

+36
-66
lines changed

2 files changed

+36
-66
lines changed

pyproject.toml

Lines changed: 36 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,33 @@
11
[build-system]
2-
requires = ["setuptools>=61.0"]
2+
requires = ["setuptools>=61.0", "wheel"]
33
build-backend = "setuptools.build_meta"
44

55
[project]
66
name = "pydevcheat"
7-
version = "0.1.0"
7+
version = "1.0.0"
8+
authors = [
9+
{name = "Eliran Cohen", email = "[email protected]"},
10+
]
811
description = "A modern cheat sheet application for developers"
12+
readme = "README.md"
913
requires-python = ">=3.8"
14+
license = {text = "MIT"}
15+
classifiers = [
16+
"Development Status :: 3 - Alpha",
17+
"Environment :: Console",
18+
"Environment :: X11 Applications :: Qt",
19+
"Intended Audience :: Developers",
20+
"License :: OSI Approved :: MIT License",
21+
"Operating System :: OS Independent",
22+
"Programming Language :: Python :: 3",
23+
"Programming Language :: Python :: 3.8",
24+
"Programming Language :: Python :: 3.9",
25+
"Programming Language :: Python :: 3.10",
26+
"Programming Language :: Python :: 3.11",
27+
"Topic :: Software Development :: Documentation",
28+
"Topic :: Software Development :: Libraries :: Python Modules",
29+
"Topic :: Utilities",
30+
]
1031
dependencies = [
1132
"httpx>=0.28.1",
1233
"pyyaml>=6.0.1",
@@ -23,5 +44,17 @@ dependencies = [
2344
"tenacity>=8.2.3"
2445
]
2546

47+
[project.urls]
48+
Homepage = "https://github.com/elirancv/PyDevCheat"
49+
Repository = "https://github.com/elirancv/PyDevCheat.git"
50+
"Bug Tracker" = "https://github.com/elirancv/PyDevCheat/issues"
51+
Documentation = "https://github.com/elirancv/PyDevCheat#readme"
52+
2653
[project.scripts]
27-
pydevcheat = "pydevcheat.main:app"
54+
pydevcheat = "pydevcheat.main:app"
55+
56+
[tool.setuptools]
57+
packages = ["pydevcheat"]
58+
59+
[tool.setuptools.package-data]
60+
pydevcheat = ["assets/*", "assets/icons/*", "assets/docs/*"]

setup.py

Lines changed: 0 additions & 63 deletions
This file was deleted.

0 commit comments

Comments
 (0)