Skip to content

Commit 3a589de

Browse files
committedMay 14, 2023
Fixes #58 issue in setup.py script with use_2to3
1 parent e12d131 commit 3a589de

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed
 

‎CHANGELOG.md

+3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
# Change Log
22

3+
- 0.9.24:
4+
- Fixes #58 - Eliminate `use_2to3` kwarg causing problems in setup.py.
5+
36
- 0.9.23:
47
- Begin requiring Python 3.6 or higher.
58
- Implements a `ConcurrentTimedRotatingFileHandler` class which provides both time and/or size

‎setup.cfg

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@
44
# universal=1
55

66
[metadata]
7-
license_file = LICENSE
7+
license_files = LICENSE

‎setup.py

+2-5
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@
55
#
66
# python setup.py install
77
#
8+
89
"""RotatingFileHandler replacement with concurrency, gzip and Windows support
910
"""
1011

11-
import io
1212
import os
1313
import sys
1414

@@ -20,15 +20,13 @@
2020
long_description = fh.read()
2121

2222
about = {}
23-
with io.open(
23+
with open(
2424
os.path.join(here, "src", "concurrent_log_handler", "__version__.py"),
2525
"r",
2626
encoding="utf-8",
2727
) as fh:
2828
exec(fh.read(), about) # noqa: S102 # todo: cleanup
2929

30-
extra = {"use_2to3": False}
31-
3230
classifiers = """\
3331
Development Status :: 4 - Beta
3432
Topic :: System :: Logging
@@ -88,7 +86,6 @@
8886
keywords=package_keywords,
8987
classifiers=classifiers.splitlines(),
9088
zip_safe=True,
91-
**extra
9289
)
9390

9491
# Local installation for development:

‎src/concurrent_log_handler/__version__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"RotatingFileHandler replacement with concurrency, gzip and Windows support"
44
)
55
__url__ = "https://github.com/Preston-Landers/concurrent-log-handler"
6-
__version__ = "0.9.23"
6+
__version__ = "0.9.24"
77
__author__ = "Preston Landers"
88
__author_email__ = "planders@utexas.edu"
99
__license__ = "http://www.apache.org/licenses/LICENSE-2.0"

0 commit comments

Comments
 (0)
Please sign in to comment.