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
|
#
# Metadata for setup.py
#
# See https://setuptools.rtfd.io/en/latest/userguide/declarative_config.html
[metadata]
name = semver
version = attr: semver.__about__.__version__
description = Python helper for Semantic Versioning (https://semver.org)
long_description = file: README.rst
long_description_content_type = text/x-rst
author = Kostiantyn Rybnikov
author_email = k-bx@k-bx.com
maintainer = Sebastien Celles, Tom Schraitle
maintainer_email = s.celles@gmail.com
url = https://github.com/python-semver/python-semver
project_urls =
Changelog = https://python-semver.readthedocs.io/en/latest/changelog.html
Documentation = https://python-semver.rtfd.io
Releases = https://github.com/python-semver/python-semver/releases
Bug Tracker = https://github.com/python-semver/python-semver/issues
classifiers =
Environment :: Web Environment
Intended Audience :: Developers
License :: OSI Approved :: BSD License
Operating System :: OS Independent
Programming Language :: Python
Programming Language :: Python :: 3
Programming Language :: Python :: 3.7
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10
Programming Language :: Python :: 3.11
Programming Language :: Python :: 3.12
Topic :: Software Development :: Libraries :: Python Modules
license = BSD
[options]
package_dir =
=src
packages = find:
python_requires = >=3.7
include_package_data = True
[options.entry_points]
console_scripts =
pysemver = semver.cli:main
[options.packages.find]
where = src
[options.package_data]
semver = py.typed
[tool:pytest]
norecursedirs = .git build .env/ env/ .pyenv/ .tmp/ .eggs/ venv/
testpaths = tests docs
pythonpath = src tests
filterwarnings =
ignore:Function 'semver.*:DeprecationWarning
# ' <- This apostroph is just to fix syntax highlighting
addopts =
--import-mode=importlib
--no-cov-on-fail
--cov=semver
--cov-report=term-missing
--doctest-glob='*.rst'
--doctest-modules
--doctest-report ndiff
[flake8]
max-line-length = 88
ignore = F821,W503
extend-exclude =
.eggs
.env
build
docs
venv
conftest.py
src/semver/__init__.py
tasks.py
[pycodestyle]
count = False
# ignore = E226,E302,E41
max-line-length = 88
statistics = True
exclude =
src/semver/__init__.py
.env,
.eggs,
.tox,
.git,
docs
|