|
| 1 | +#!/usr/bin/env -S make -B |
1 | 2 | [build-system] |
2 | 3 | requires = ["setuptools >= 45", "setuptools_scm[toml] >= 6.2", "setuptools-generate"] |
3 | 4 | build-backend = "setuptools.build_meta" |
4 | 5 |
|
5 | 6 | # https://setuptools.pypa.io/en/latest/userguide/pyproject_config.html |
6 | 7 | [project] |
7 | 8 | name = "repl-python-wakatime" |
8 | | -description = "Python REPL plugin for automatic time tracking and metrics generated from your programming activity." |
| 9 | +description = "Python REPL plugin for automatic time tracking and metrics generated from your programming activity" |
9 | 10 | authors = [{ name = "Wu Zhenyu", email = "wuzhenyu@ustc.edu" }] |
10 | 11 | readme = "README.md" |
11 | | -requires-python = ">= 3.9" |
| 12 | +requires-python = ">= 3.7" |
12 | 13 | keywords = ["wakatime", "plugin", "python", "ipython", "ptpython"] |
13 | 14 | license = { text = "GPL v3" } |
14 | 15 | classifiers = [ |
@@ -41,8 +42,19 @@ Source = "https://github.com/wakatime/repl-python-wakatime" |
41 | 42 | [tool.setuptools.package-data] |
42 | 43 | repl_python_wakatime = ["py.typed", "assets/*"] |
43 | 44 |
|
44 | | -[tool.setuptools.dynamic.optional-dependencies] |
45 | | -dev = { file = "requirements/dev.txt" } |
| 45 | +# begin: scripts/generate-pyproject.toml.pl |
| 46 | +[tool.setuptools.dynamic.optional-dependencies.dev] |
| 47 | +file = "requirements/dev.txt" |
| 48 | + |
| 49 | +[tool.setuptools.dynamic.optional-dependencies.ipython] |
| 50 | +file = "requirements/ipython.txt" |
| 51 | + |
| 52 | +[tool.setuptools.dynamic.optional-dependencies.ptipython] |
| 53 | +file = "requirements/ptipython.txt" |
| 54 | + |
| 55 | +[tool.setuptools.dynamic.optional-dependencies.ptpython] |
| 56 | +file = "requirements/ptpython.txt" |
| 57 | +# end: scripts/generate-pyproject.toml.pl |
46 | 58 |
|
47 | 59 | [tool.setuptools_scm] |
48 | 60 | write_to = "src/repl_python_wakatime/_version.py" |
|
0 commit comments