|
| 1 | +# Guide (user-friendly): |
| 2 | +# https://packaging.python.org/en/latest/guides/writing-pyproject-toml/ |
| 3 | + |
| 4 | +# Specification (technical, formal): |
| 5 | +# https://packaging.python.org/en/latest/specifications/pyproject-toml/ |
| 6 | + |
| 7 | + |
| 8 | +# Choosing a build backend: |
| 9 | +# https://packaging.python.org/en/latest/tutorials/packaging-projects/#choosing-a-build-backend |
| 10 | +[build-system] |
| 11 | +# A list of packages that are needed to build your package: |
| 12 | +requires = ["setuptools>=61.0.0"] # REQUIRED if [build-system] table is used |
| 13 | +# The name of the Python object that frontends will use to perform the build: |
| 14 | +build-backend = "setuptools.build_meta" # If not defined, then legacy behavior can happen. |
| 15 | + |
| 16 | + |
| 17 | +[project] |
| 18 | +# This is the name of your project. The first time you publish this |
| 19 | +# package, this name will be registered for you. It will determine how |
| 20 | +# users can install this project, e.g.: |
| 21 | +# |
| 22 | +# $ pip install sampleproject |
| 23 | +# |
| 24 | +# And where it will live on PyPI: https://pypi.org/project/sampleproject/ |
| 25 | +# |
| 26 | +# There are some restrictions on what makes a valid project name |
| 27 | +# specification here: |
| 28 | +# https://packaging.python.org/specifications/core-metadata/#name |
| 29 | +name = "delphi_epidata" # REQUIRED, is the only field that cannot be marked as dynamic. |
| 30 | + |
| 31 | +# Versions should comply with PEP 440: |
| 32 | +# https://www.python.org/dev/peps/pep-0440/ |
| 33 | +# |
| 34 | +# For a discussion on single-sourcing the version, see |
| 35 | +# https://packaging.python.org/guides/single-sourcing-package-version/ |
| 36 | +version = "4.1.23" |
| 37 | + |
| 38 | +# This is a one-line description or tagline of what your project does. This |
| 39 | +# corresponds to the "Summary" metadata field: |
| 40 | +# https://packaging.python.org/specifications/core-metadata/#summary |
| 41 | +description = "A programmatic interface to Delphi's Epidata API." |
| 42 | + |
| 43 | +# This is an optional longer description of your project that represents |
| 44 | +# the body of text which users will see when they visit PyPI. |
| 45 | +# |
| 46 | +# Often, this is the same as your README, so you can just read it in from |
| 47 | +# that file directly. |
| 48 | +# |
| 49 | +# This field corresponds to the "Description" metadata field: |
| 50 | +# https://packaging.python.org/specifications/core-metadata/#description-optional |
| 51 | +readme = "README.md" |
| 52 | + |
| 53 | +# Specify which Python versions you support. In contrast to the |
| 54 | +# 'Programming Language' classifiers in this file, 'pip install' will check this |
| 55 | +# and refuse to install the project if the version does not match. See |
| 56 | +# https://packaging.python.org/guides/distributing-packages-using-setuptools/#python-requires |
| 57 | +requires-python = ">=3.8" |
| 58 | + |
| 59 | +# This is either text indicating the license for the distribution, or a file |
| 60 | +# that contains the license. |
| 61 | +# https://packaging.python.org/en/latest/specifications/core-metadata/#license |
| 62 | +license = { file = "LICENSE.txt" } |
| 63 | + |
| 64 | +# This should be your name or the name of the organization who originally |
| 65 | +# authored the project, and a valid email address corresponding to the name |
| 66 | +# listed. |
| 67 | +authors = [{ name = "David Farrow", email = "[email protected]" }] |
| 68 | + |
| 69 | +# This should be your name or the names of the organization who currently |
| 70 | +# maintains the project, and a valid email address corresponding to the name |
| 71 | +# listed. |
| 72 | +# maintainers = [ |
| 73 | +# { name = "A. Great Maintainer", email = "[email protected]" }, |
| 74 | +# ] |
| 75 | + |
| 76 | +# Classifiers help users find your project by categorizing it. |
| 77 | +# |
| 78 | +# For a list of valid classifiers, see https://pypi.org/classifiers/ |
| 79 | +classifiers = [ |
| 80 | + # How mature is this project? Common values are |
| 81 | + # 3 - Alpha |
| 82 | + # 4 - Beta |
| 83 | + # 5 - Production/Stable |
| 84 | + # Pick your license as you wish |
| 85 | + "License :: OSI Approved :: MIT License", |
| 86 | + |
| 87 | + # Specify the Python versions you support here. In particular, ensure |
| 88 | + # that you indicate you support Python 3. These classifiers are *not* |
| 89 | + # checked by "pip install". See instead "requires-python" key in this file. |
| 90 | + "Programming Language :: Python", |
| 91 | + "Operating System :: OS Independent", |
| 92 | + "Intended Audience :: Science/Research", |
| 93 | + "Natural Language :: English", |
| 94 | + "Topic :: Scientific/Engineering :: Bio-Informatics", |
| 95 | +] |
| 96 | + |
| 97 | +# This field lists other packages that your project depends on to run. |
| 98 | +# Any package you put here will be installed by pip when your project is |
| 99 | +# installed, so they must be valid existing projects. |
| 100 | +# |
| 101 | +# For an analysis of this field vs pip's requirements files see: |
| 102 | +# https://packaging.python.org/discussions/install-requires-vs-requirements/ |
| 103 | +dependencies = ["aiohttp", "delphi-utils", "requests>=2.7.0", "tenacity"] |
| 104 | + |
| 105 | + |
| 106 | +# List URLs that are relevant to your project |
| 107 | +# |
| 108 | +# This field corresponds to the "Project-URL" and "Home-Page" metadata fields: |
| 109 | +# https://packaging.python.org/specifications/core-metadata/#project-url-multiple-use |
| 110 | +# https://packaging.python.org/specifications/core-metadata/#home-page-optional |
| 111 | +# |
| 112 | +# Examples listed include a pattern for specifying where the package tracks |
| 113 | +# issues, where the source is hosted, where to say thanks to the package |
| 114 | +# maintainers, and where to support the project financially. The key is |
| 115 | +# what's used to render the link text on PyPI. |
| 116 | +[project.urls] |
| 117 | +"Homepage" = "https://github.com/cmu-delphi/delphi-epidata" |
| 118 | +"Changelog" = "https://github.com/cmu-delphi/delphi-epidata/blob/main/src/client/packaging/pypi/CHANGELOG.md" |
0 commit comments