|
| 1 | +[build-system] |
| 2 | +requires = ["hatchling>=1.27.0"] |
| 3 | +build-backend = "hatchling.build" |
| 4 | + |
| 5 | +[project] |
| 6 | +name = "w3lib" |
| 7 | +description = "Library of web-related functions" |
| 8 | +readme = "README.rst" |
| 9 | +license = "BSD-3-Clause" |
| 10 | +license-files = ["LICENSE"] |
| 11 | +authors = [ |
| 12 | + { name = "Scrapy project", email = "info@scrapy.org" }, |
| 13 | +] |
| 14 | +classifiers = [ |
| 15 | + "Development Status :: 5 - Production/Stable", |
| 16 | + "Intended Audience :: Developers", |
| 17 | + "Operating System :: OS Independent", |
| 18 | + "Programming Language :: Python", |
| 19 | + "Programming Language :: Python :: 3", |
| 20 | + "Programming Language :: Python :: 3.13", |
| 21 | + "Programming Language :: Python :: 3.9", |
| 22 | + "Programming Language :: Python :: Implementation :: CPython", |
| 23 | + "Programming Language :: Python :: Implementation :: PyPy", |
| 24 | + "Programming Language :: Python :: 3.10", |
| 25 | + "Programming Language :: Python :: 3.11", |
| 26 | + "Programming Language :: Python :: 3.12", |
| 27 | + "Topic :: Internet :: WWW/HTTP", |
| 28 | + "Topic :: Software Development :: Libraries :: Python Modules", |
| 29 | +] |
| 30 | +requires-python = ">=3.9" |
| 31 | +dynamic = ["version"] |
| 32 | + |
| 33 | +[project.urls] |
| 34 | +Homepage = "https://github.com/scrapy/w3lib" |
| 35 | +Documentation = "https://w3lib.readthedocs.io/en/latest/" |
| 36 | +Source = "https://github.com/scrapy/w3lib" |
| 37 | +Tracker = "https://github.com/scrapy/w3lib/issues" |
| 38 | +Changelog = "https://github.com/scrapy/w3lib/commits/master/" |
| 39 | +releasenotes = "https://w3lib.readthedocs.io/en/latest/#changelog" |
| 40 | + |
| 41 | +[tool.hatch.version] |
| 42 | +path = "w3lib/__init__.py" |
| 43 | + |
| 44 | +[tool.hatch.build.targets.sdist] |
| 45 | +include = [ |
| 46 | + "/docs", |
| 47 | + "/w3lib", |
| 48 | + "/tests", |
| 49 | + "/NEWS", |
| 50 | + "/codecov.yml", |
| 51 | + "/tox.ini", |
| 52 | +] |
| 53 | + |
1 | 54 | [tool.bumpversion]
|
2 | 55 | current_version = "2.3.1"
|
3 | 56 | commit = true
|
4 | 57 | tag = true
|
5 | 58 | tag_name = "v{new_version}"
|
6 | 59 |
|
7 |
| -[[tool.bumpversion.files]] |
8 |
| -filename = "setup.py" |
9 |
| - |
10 | 60 | [[tool.bumpversion.files]]
|
11 | 61 | filename = "w3lib/__init__.py"
|
12 | 62 |
|
|
0 commit comments