Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 2ab1703

Browse files
Started major rewrite for 1.0
Support all the latest and greatest protocol features Async buffer with disk persistence Signed-off-by: Arcadiy Ivanov <arcadiy@ivanov.biz>
1 parent eb68481 commit 2ab1703

28 files changed

+1308
-370
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: 32 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -1,35 +1,34 @@
1-
sudo: false
2-
language: python
3-
python:
4-
- "2.7"
5-
- "3.4"
6-
- "3.5"
7-
- "3.6"
8-
- "3.7"
9-
- "3.8"
10-
- pypy
11-
- pypy3
12-
- nightly
13-
# command to install dependencies, e.g. pip install -r requirements.txt --use-mirrors
14-
install:
15-
- "pip install -e ."
16-
- "pip install 'coverage~=4.5.4' coveralls"
17-
script:
18-
- "PYTHONFAULTHANDLER=x timeout -sABRT 30s nosetests -vsd"
19-
after_success:
20-
- coveralls
1+
language: c
2+
dist: bionic
3+
os:
4+
- linux
5+
# - osx
6+
# - windows
7+
#osx_image: xcode11.3
8+
services:
9+
- docker
10+
addons:
11+
apt:
12+
packages:
13+
- docker-ce
14+
env:
15+
jobs:
16+
- PYTHON_VERSION="3.8.3"
17+
- PYTHON_VERSION="3.7.7"
18+
- PYTHON_VERSION="3.6.10"
19+
- PYTHON_VERSION="3.5.9"
20+
- PYTHON_VERSION="3.9.0b1"
21+
global:
22+
- DEPLOY_BRANCHES: "'master'"
23+
- DEPLOY_PYTHONS: "'3.8.3'"
24+
- DEPLOY_OSES: "'linux'"
25+
- PYB_ARGS: "'-E ci -v -X analyze install'"
26+
- TWINE_USERNAME: repeatedly
27+
- secure: CpNaj4F3TZvpP1aSJWidh/XexrWODV2sBdObrYU79Gyh9hFl6WLsA3JM9BfVsy9cGb/P/jP6ly4Z0/6qdIzZ5D6FPOB1B7rn5GZ2LAMOypRCA6W2uJbRjUU373Wut0p0OmQcMPto6XJsMlpvOEq+1uAq+LLAnAGEmmYTeskZebs=
2128

22-
deploy:
23-
provider: pypi
24-
user: repeatedly
25-
server: https://upload.pypi.org/legacy/
26-
password:
27-
secure: CpNaj4F3TZvpP1aSJWidh/XexrWODV2sBdObrYU79Gyh9hFl6WLsA3JM9BfVsy9cGb/P/jP6ly4Z0/6qdIzZ5D6FPOB1B7rn5GZ2LAMOypRCA6W2uJbRjUU373Wut0p0OmQcMPto6XJsMlpvOEq+1uAq+LLAnAGEmmYTeskZebs=
28-
on:
29-
tags: true
30-
condition: '"$TRAVIS_PYTHON_VERSION" = "3.8" || "$TRAVIS_PYTHON_VERSION" = "2.7"'
31-
distributions: "sdist bdist_wheel"
29+
cache:
30+
directories:
31+
- $HOME/.pyenv
3232

33-
matrix:
34-
allow_failures:
35-
- python: nightly
33+
install: travis_wait 30 python travis/travis_shim.py install
34+
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 & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,10 @@ Python application.
2424
Requirements
2525
------------
2626

27-
- Python 2.7 or 3.4+
27+
- Python 3.5+
2828
- ``msgpack-python``
2929
- **IMPORTANT**: Version 0.8.0 is the last version supporting Python 2.6, 3.2 and 3.3
30+
- **IMPORTANT**: Version 0.9.x is the last version supporting Python 2.7 and 3.4
3031

3132
Installation
3233
------------

‎build.py‎

Lines changed: 82 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,82 @@
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", "kazuki.ohta@gmail.com")]
18+
maintainers = [Author("Arcadiy Ivanov", "arcadiy@ivanov.biz")]
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.5"
29+
30+
default_task = ["analyze", "publish"]
31+
32+
33+
@init
34+
def set_properties(project):
35+
project.set_property("verbose", True)
36+
37+
project.set_property("coverage_break_build", True)
38+
project.get_property("coverage_exceptions").extend(["setup"])
39+
40+
project.set_property("flake8_break_build", True)
41+
project.set_property("flake8_extend_ignore", "E303")
42+
project.set_property("flake8_include_test_sources", True)
43+
project.set_property("flake8_max_line_length", 130)
44+
45+
project.set_property("frosted_include_test_sources", True)
46+
project.set_property("frosted_include_scripts", True)
47+
48+
project.set_property("copy_resources_target", "$dir_dist/fluent")
49+
project.get_property("copy_resources_glob").append("LICENSE")
50+
project.include_file("fluent", "LICENSE")
51+
52+
# PyPy distutils needs os.environ['PATH'] not matter what
53+
# Also Windows needs PATH for DLL loading in all Pythons
54+
project.set_property("integrationtest_inherit_environment", True)
55+
56+
project.set_property("distutils_readme_description", True)
57+
project.set_property("distutils_description_overwrite", True)
58+
project.set_property("distutils_readme_file", "README.rst")
59+
project.set_property("distutils_upload_skip_existing", True)
60+
project.set_property("distutils_setup_keywords", ["fluentd", "logging", "logger", "python"])
61+
62+
project.set_property("distutils_classifiers", [
63+
"Programming Language :: Python",
64+
"Programming Language :: Python :: Implementation :: CPython",
65+
"Programming Language :: Python :: Implementation :: PyPy",
66+
"Programming Language :: Python :: 3",
67+
"Programming Language :: Python :: 3 :: Only"
68+
"Programming Language :: Python :: 3.5",
69+
"Programming Language :: Python :: 3.6",
70+
"Programming Language :: Python :: 3.7",
71+
"Programming Language :: Python :: 3.8",
72+
"Programming Language :: Python :: 3.9",
73+
"Operating System :: MacOS :: MacOS X",
74+
"Operating System :: POSIX :: Linux",
75+
"Operating System :: Microsoft :: Windows",
76+
"Operating System :: OS Independent",
77+
"Topic :: Software Development :: Libraries :: Python Modules",
78+
"Topic :: System :: Logging"
79+
"Intended Audience :: Developers",
80+
"Development Status :: 5 - Production/Stable",
81+
])
82+

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /