Skip to content

Commit 809e558

Browse files
committed
Started major rewrite for 1.0
Support all the latest and greatest protocol features Async buffer with disk persistence
1 parent ace80f4 commit 809e558

30 files changed

+1344
-340
lines changed

.coveragerc

Lines changed: 0 additions & 8 deletions
This file was deleted.

.gitignore

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,7 @@
99
/.tox
1010
/build
1111
/dist
12-
.idea/
12+
/.idea
13+
/.pybuilder
14+
__pycache__
15+
/target

.travis.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,5 @@ deploy:
2828
condition: '"$TRAVIS_PYTHON_VERSION" = "3.9" || "$TRAVIS_PYTHON_VERSION" = "2.7"'
2929
distributions: "sdist bdist_wheel"
3030

31-
matrix:
32-
allow_failures:
33-
- python: nightly
31+
install: travis_wait 30 python travis/travis_shim.py install
32+
script: travis_wait 60 python travis/travis_shim.py build

COPYING renamed to LICENSE

File renamed without changes.

MANIFEST.in

Lines changed: 0 additions & 4 deletions
This file was deleted.

README.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,10 @@ Python application.
2424
Requirements
2525
------------
2626

27-
- Python 3.5+
27+
- Python 3.6+
2828
- ``msgpack``
2929
- **IMPORTANT**: Version 0.8.0 is the last version supporting Python 2.6, 3.2 and 3.3
30-
- **IMPORTANT**: Version 0.9.6 is the last version supporting Python 2.7 and 3.4
30+
- **IMPORTANT**: Version 0.9.6 is the last version supporting Python 2.7, 3.4 and 3.5
3131

3232
Installation
3333
------------

build.py

Lines changed: 85 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,85 @@
1+
# -*- coding: utf-8 -*-
2+
from pybuilder.core import use_plugin, init, Author
3+
4+
use_plugin("python.core")
5+
use_plugin("python.unittest")
6+
use_plugin("python.flake8")
7+
use_plugin("python.coverage")
8+
use_plugin("python.coveralls")
9+
use_plugin("python.distutils")
10+
use_plugin("python.pycharm")
11+
use_plugin("copy_resources")
12+
13+
14+
name = "fluent-logger"
15+
summary = "A Python logging handler for FluentD event collector"
16+
17+
authors = [Author("Kazuki Ohta", "[email protected]")]
18+
maintainers = [Author("Arcadiy Ivanov", "[email protected]")]
19+
20+
url = "https://github.com/fluent/fluent-logger-python"
21+
urls = {"Bug Tracker": "https://github.com/fluent/fluent-logger-python/issues",
22+
"Source Code": "https://github.com/fluent/fluent-logger-python",
23+
"Documentation": "https://github.com/fluent/fluent-logger-python"
24+
}
25+
license = "Apache License, Version 2.0"
26+
version = "1.0.0.dev"
27+
28+
requires_python = ">=3.6"
29+
30+
default_task = ["analyze", "publish"]
31+
32+
33+
@init
34+
def set_properties(project):
35+
project.build_depends_on("docker", "~=4.2.0")
36+
project.build_depends_on("cryptography", "~=2.9.0")
37+
38+
project.set_property("verbose", True)
39+
40+
project.set_property("coverage_break_build", True)
41+
project.get_property("coverage_exceptions").extend(["setup"])
42+
43+
project.set_property("flake8_break_build", True)
44+
project.set_property("flake8_extend_ignore", "E303")
45+
project.set_property("flake8_include_test_sources", True)
46+
project.set_property("flake8_max_line_length", 130)
47+
48+
project.set_property("frosted_include_test_sources", True)
49+
project.set_property("frosted_include_scripts", True)
50+
51+
project.set_property("copy_resources_target", "$dir_dist/fluent")
52+
project.get_property("copy_resources_glob").append("LICENSE")
53+
project.include_file("fluent", "LICENSE")
54+
55+
# PyPy distutils needs os.environ['PATH'] not matter what
56+
# Also Windows needs PATH for DLL loading in all Pythons
57+
project.set_property("integrationtest_inherit_environment", True)
58+
59+
project.set_property("distutils_readme_description", True)
60+
project.set_property("distutils_description_overwrite", True)
61+
project.set_property("distutils_readme_file", "README.rst")
62+
project.set_property("distutils_upload_skip_existing", True)
63+
project.set_property("distutils_setup_keywords", ["fluentd", "logging", "logger", "python"])
64+
65+
project.set_property("distutils_classifiers", [
66+
"Programming Language :: Python",
67+
"Programming Language :: Python :: Implementation :: CPython",
68+
"Programming Language :: Python :: Implementation :: PyPy",
69+
"Programming Language :: Python :: 3",
70+
"Programming Language :: Python :: 3 :: Only"
71+
"Programming Language :: Python :: 3.5",
72+
"Programming Language :: Python :: 3.6",
73+
"Programming Language :: Python :: 3.7",
74+
"Programming Language :: Python :: 3.8",
75+
"Programming Language :: Python :: 3.9",
76+
"Operating System :: MacOS :: MacOS X",
77+
"Operating System :: POSIX :: Linux",
78+
"Operating System :: Microsoft :: Windows",
79+
"Operating System :: OS Independent",
80+
"Topic :: Software Development :: Libraries :: Python Modules",
81+
"Topic :: System :: Logging"
82+
"Intended Audience :: Developers",
83+
"Development Status :: 5 - Production/Stable",
84+
])
85+

fluent/sender.py

Lines changed: 0 additions & 250 deletions
This file was deleted.

pyproject.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[build-system]
2+
requires = ["pybuilder>=0.12.0"]
3+
build-backend = "pybuilder.pep517"

setup.cfg

Lines changed: 0 additions & 10 deletions
This file was deleted.

0 commit comments

Comments
 (0)