-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathpyproject.toml
75 lines (62 loc) · 2.78 KB
/
pyproject.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
# This file configures the project for packaging, and can also hold other
# tools' configuration settings.
#
# More details about what can go in this file:
# https://setuptools.pypa.io/en/latest/userguide/pyproject_config.html
[project]
# This is the basic information about your project. Change the details here
# to be about your project instead of "pkgsample".
name = "pkgsample"
description = "An example package demonstrating how to make one"
# You can change this to README.md if you prefer.
readme = "README.rst"
# Put your own name and email address here. You can also add more authors.
authors = [
]
# You can choose a different license: https://choosealicense.com/
# If you do, update the License classifier below, and put the correct text into
# your LICENSE.txt file.
license.text = "Apache-2.0"
# Classifiers for your package. PyPI displays these on its page.
# See https://pypi.org/classifiers/ for all of the possibilities.
classifiers = [
"Development Status :: 2 - Pre-Alpha",
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
]
# This is the minimum version of Python that pip will install your package on.
# An overview of Python versions, their features and their lifecycle time frames
# is at https://nedbatchelder.com/text/which-py.html.
requires-python = ">= 3.9"
# List your needed third-party libraries, if you have any. "rich" is here as an
# example. Your list will be completely different.
dependencies = [
"rich",
]
# State that the version will be defined dynamically below.
dynamic = ["version"]
[project.urls]
# These URLs are displayed in a sidebar on PyPI. You don't have to have them,
# but they can help people learn more about your project. You can include as
# many named URLs as you want. They can be any URL, not just to GitHub.
"Source code" = "https://github.com/nedbat/pkgsample"
"Issue tracker" = "https://github.com/nedbat/pkgsample/issues"
[project.scripts]
# COMMANDS: These are commands you are installing. Omit this section if you
# have no commands. The names of the settings are the command names.
# The values are a string in the form "module.to.import:function_to_run".
# The 'pkgsample_add' command will run the function add_main() in the
# src/pkgsample/add_cli.py file.
pkgsample_add = "pkgsample.add_cli:add_main"
[tool.setuptools.dynamic]
# The version number will be read from __version__ in src/pkgsample/__init__.py
version.attr = "pkgsample.__version__"
[build-system]
requires = ["setuptools"]
build-backend = "setuptools.build_meta"