Skip to content

Commit acfa5c6

Browse files
Use SCM versioning (#17)
1 parent 2f00bac commit acfa5c6

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

setup.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ packages = context_logger
33
strict = True
44

55
[flake8]
6-
exclude = build,dist
6+
exclude = build,dist,.eggs,*.egg-info
77
max-line-length = 120
88
max-complexity = 10
99
count = True

setup.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,12 @@
22

33
setup(
44
name='python-context-logger',
5-
version='1.2.1',
65
description='Contextual structured logging library for Python',
76
author='Ferenc Nandor Janky & Attila Gombos',
87
author_email='info@effective-range.com',
98
packages=['context_logger'],
109
package_data={'context_logger': ['py.typed']},
10+
use_scm_version=True,
11+
setup_requires=["setuptools_scm"],
1112
install_requires=['structlog']
1213
)

0 commit comments

Comments
 (0)