Skip to content

Commit 2a7c69d

Browse files
authored
Move setup.cfg to pyproject.toml (#26)
1 parent 9a66f3c commit 2a7c69d

2 files changed

Lines changed: 39 additions & 34 deletions

File tree

pyproject.toml

Lines changed: 39 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,46 @@
11
[build-system]
2-
requires = ["setuptools>=42", "setuptools_scm[toml]>=6.2"]
2+
requires = ["setuptools>=61.2", "setuptools_scm[toml]>=6.2"]
33

44
build-backend = "setuptools.build_meta"
55

6+
[project]
7+
name = "pyodide-cli"
8+
version = "0.0.1"
9+
authors = [{name = "Pyodide developers"}]
10+
description = '"The command line interface for the Pyodide project"'
11+
classifiers = [
12+
"Programming Language :: Python :: 3",
13+
"License :: OSI Approved :: Mozilla Public License 2.0 (MPL 2.0)",
14+
"Operating System :: OS Independent",
15+
]
16+
requires-python = ">= 3.10"
17+
dependencies = [
18+
"typer[all]",
19+
"rich",
20+
]
21+
22+
[project.readme]
23+
file = "README.md"
24+
content-type = "text/markdown"
25+
26+
[project.urls]
27+
Homepage = "https://github.com/pyodide/pyodide"
28+
"Bug Tracker" = "https://github.com/pyodide/pyodide/issues"
29+
Documentation = "https://pyodide.org/en/stable/"
30+
31+
[project.optional-dependencies]
32+
test = ["pytest"]
33+
34+
[project.scripts]
35+
pyodide = "pyodide_cli.__main__:main"
36+
37+
[tool.setuptools]
38+
package-dir = {"" = "."}
39+
include-package-data = false
40+
41+
[tool.setuptools.packages]
42+
find = {namespaces = false}
43+
644
# Evable versioning via setuptools_scm
745
[tool.setuptools_scm]
846

setup.cfg

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

0 commit comments

Comments
 (0)