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 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99
|
---
deprecations:
- |
A number of pbr-specific `setup.cfg` sections and options have been
deprecated in order in favour of setuptools native `setup.cfg` sections
and options or their `pyproject.toml` equivalents:
- The `[entry_points]` section has been deprecated in favour of the
`[options.entry_points]` section (if using `setup.cfg`) or the
`[project.scripts]` and/or `[project.entry-points.{name}]` sections
(if using `pyproject.toml`)
- The `[files] packages_root` option has been deprecated in favour of the
`[options] package_dir` option (if using `setup.cfg`) or the
`[tools.setuptools] package_dir` option (if using `pyproject.toml`)
- The `[files] packages` option has been deprecated in favour of the
`[options] packages` option (if using `setup.cfg`) or the
`[tools.setuptools] packages` option (if using `pyproject.toml`)
- The `[files] package_data` option has been deprecated in favour of the
`[options.package_data]` option (if using `setup.cfg`) or the
`[tool.setuptools.package-data]` option (if using `pyproject.toml`)
- The `[files] namespace_packages` option has been deprecated in favour of
the `[options] namespace_packages` option (if using `setup.cfg`).
Alternatively, migrate to PEP 420-style namespace packages
- The `[files] data_files` option has been deprecated, and support for
non-package data files in general is deprecated in setuptools and their
use is discouraged. For package data files, use `[options] package_data`
(if using `setup.cfg`) or `[tools.setuptools] package_data` (if using
`pyproject.toml`) instead. If non-package data files are necessary, use
`[options] data_files` (if using `setup.cfg`) or `[tools.setuptools]
data-files` (if using `pyproject.toml`) instead.
- The `[files] scripts` option has been deprecated. There is no direct
replacement. Instead, migrate to using the `console_scripts` entrypoint
and use the `[options.entry_points]` option (if using `setup.cfg`) or
the `[project.scripts]` option (if using `pyproject.toml`).
- The `[files] modules` option has been deprecated in favour of the
`[options] py_modules` option (if using `setup.cfg`) or the
`[tools.setuptools] py-modules` option (if using `pyproject.toml`)
- The `[metadata] home_page` option has been deprecated in favour of the
`[metadata] url` option (if using `setup.cfg`) or the `[project.urls]`
option (if using `pyproject.toml`)
- The `[metadata] summary` option has been deprecated in favour of the
`[metadata] description` option (if using `setup.cfg`) or the `[project]
description` option (if using `pyproject.toml`)
- The `[metadata] classifier` option has been deprecated in favour of the
`[metadata] classifiers` option (if using `setup.cfg`) or the `[project]
classifiers` option (if using `pyproject.toml`)
- The `[metadata] platform` option has been deprecated in favour of the
`[metadata] platforms` option (if using `setup.cfg`) or the
`[tool.setuptools] platforms` (if using `pyproject.toml`)
- The `[metadata] requires_dist` option has been deprecated in favour of
the `[options] install_requires` option (if using `setup.cfg`) or the
`[project] dependencies` option (if using `pyproject.toml`)
- The `[metadata] setup_requires_dist` option has been deprecated in favour
of the `[options] setup_requires` option (if using `setup.cfg`) or the
`[build-system] requires` option (if using `pyproject.toml`)
- The `[metadata] python_requires` option has been deprecated in favour of
the `[options] python_requires` option (if using `setup.cfg`) or the
`[project] requires-python` option (if using `pyproject.toml`)
- The `[metadata] requires_python` option has been deprecated in favour of
the `[options] python_requires` option (if using `setup.cfg`) or the
`[project] requires-python` option (if using `pyproject.toml`)
- The `[metadata] provides_dist` option has been deprecated as it is
obsolete and is no longer used by pip
- The `[metadata] provides_extra` option has been deprecated as it is
obsolete and is no longer used by pip
- The `[metadata] obsoletes_dist` option has been deprecated as it is
obsolete and is no longer used by pip
- The `[backwards_compat] zip_safe` option has been deprecated as it is
was only relevant in the context of eggs and is therefore obsolete
- The `[backwards_compat] dependency_links` option has been deprecated as
it is obsolete and is no longer used by pip
- The `[backwards_compat] tests_require` option has been deprecated as it
is obsolete and is no longer used by pip
- The `[backwards_compat] include_package_data` option has been deprecated
in favour of the `[options] include_package_data` option (is using
`setup.cfg`) or the `[tools.setuptools] include-package-data` option
(if using `pyproject.toml`)
|