Skip to content

Commit cdc8c6d

Browse files
Cleanup of setup.py and related stuff.
1 parent 2624948 commit cdc8c6d

12 files changed

+200
-877
lines changed

.bzrignore

-11
This file was deleted.

.editorconfig

+19
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# EditorConfig is awesome: https://EditorConfig.org
2+
3+
# top-most EditorConfig file
4+
root = true
5+
6+
# Unix-style newlines with a newline ending every file
7+
[*]
8+
# end_of_line = lf
9+
insert_final_newline = true
10+
11+
# Matches multiple files with brace expansion notation
12+
# Set default charset
13+
[*.{js,py}]
14+
charset = utf-8
15+
16+
# 4 space indentation
17+
[*.py]
18+
indent_style = space
19+
indent_size = 4

CHANGELOG.md

+65
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,65 @@
1+
## Change Log ##
2+
- 0.9.19: TODO
3+
4+
- 0.9.18: Remove ez_setup from the setup.py
5+
6+
- 0.9.17: Contains the following fixes:
7+
* Catch exceptions when unlocking the lock.
8+
* Clarify documentation, esp. with use of multiprocessing
9+
* In Python 2, don't request/allow portalocker 2.0 which won't work. (Require portalocker<=1.7.1)
10+
11+
NOTE: the next release will likely be a 1.0 release candidate.
12+
13+
- 0.9.16: Fix publishing issue with incorrect code included in the wheel
14+
Affects Python 2 mainly - see Issue #21
15+
16+
- 0.9.15: Fix bug from last version on Python 2. (Issue #21) Thanks @condontrevor
17+
Also, on Python 2 and 3, apply unicode_error_policy (default: ignore) to convert
18+
a log message to the output stream's encoding. I.e., by default it will filter
19+
out (remove) any characters in a log message which cannot be converted to the
20+
output logfile's encoding.
21+
22+
- 0.9.14: Fix writing LF line endings on Windows when encoding is specified.
23+
Added newline and terminator kwargs to allow customizing line ending behavior.
24+
Thanks to @vashek
25+
26+
- 0.9.13: Fixes Crashes with ValueError: I/O operation on closed file (issue #16)
27+
Also should fix issue #13 with crashes related to Windows file locking.
28+
Big thanks to @terencehonles, @nsmcan, @wkoot, @dismine for doing the hard parts
29+
30+
- 0.9.12: Add umask option (thanks to @blakehilliard)
31+
This adds the ability to control the permission flags when creating log files.
32+
33+
- 0.9.11: Fix issues with gzip compression option (use buffering)
34+
35+
- 0.9.10: Fix inadvertent lock sharing when forking
36+
Thanks to @eriktews for this fix
37+
38+
- 0.9.9: Fix Python 2 compatibility broken in last release
39+
40+
- 0.9.8: Bug fixes and permission features
41+
* Fix for issue #4 - AttributeError: 'NoneType' object has no attribute 'write'
42+
This error could be caused if a rollover occurred inside a logging statement
43+
that was generated from within another logging statement's format() call.
44+
* Fix for PyWin32 dependency specification (explicitly require PyWin32)
45+
* Ability to specify owner and permissions (mode) of rollover files [Unix only]
46+
47+
- 0.9.7/0.9.6: Fix platform specifier for PyPi
48+
49+
- 0.9.5: Add `use_gzip` option to compress rotated logs. Add an optional threaded
50+
logging queue handler based on the standard library's `logging.QueueHandler`.
51+
52+
- 0.9.4: Fix setup.py to not include tests in distribution.
53+
54+
- 0.9.3: Refactoring release
55+
* For publishing fork on pypi as `concurrent-log-handler` under new package name.
56+
* NOTE: PyWin32 is required on Windows but is not an explicit dependency because
57+
the PyWin32 package is not currently installable through pip.
58+
* Fix lock behavior / race condition
59+
60+
- 0.9.2: Initial release of fork by Preston Landers based on a fork of Lowell Alleman's
61+
ConcurrentLogHandler 0.9.1
62+
* Fixes deadlocking issue with recent versions of Python
63+
* Puts `.__` prefix in front of lock file name
64+
* Use `secrets` or `SystemRandom` if available.
65+
* Add/fix Windows support

CONTRIBUTORS.md

+25
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
## Contributors
2+
3+
The following folks were kind enough to contribute to this fork, in no particular order:
4+
5+
https://github.com/Preston-Landers
6+
7+
https://github.com/und3rc
8+
9+
https://github.com/wcooley
10+
11+
https://github.com/greenfrog82
12+
13+
https://github.com/blakehilliard
14+
15+
https://github.com/eriktews
16+
17+
https://github.com/ZhuYuJin
18+
19+
https://github.com/vashek
20+
21+
https://github.com/terencehonles
22+
23+
https://github.com/fr-ez
24+
25+
https://github.com/mariusvniekerk

0 commit comments

Comments
 (0)