Skip to content

Commit b66dac9

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

File tree

3 files changed

+50
-46
lines changed

3 files changed

+50
-46
lines changed

.travis.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,10 @@
11
sudo: false
22
language: python
33
python:
4-
- "2.7"
5-
- "3.4"
64
- "3.5"
75
- "3.6"
86
- "3.7"
97
- "3.8"
10-
- pypy
118
- pypy3
129
- nightly
1310
# command to install dependencies, e.g. pip install -r requirements.txt --use-mirrors
@@ -27,7 +24,7 @@ deploy:
2724
secure: CpNaj4F3TZvpP1aSJWidh/XexrWODV2sBdObrYU79Gyh9hFl6WLsA3JM9BfVsy9cGb/P/jP6ly4Z0/6qdIzZ5D6FPOB1B7rn5GZ2LAMOypRCA6W2uJbRjUU373Wut0p0OmQcMPto6XJsMlpvOEq+1uAq+LLAnAGEmmYTeskZebs=
2825
on:
2926
tags: true
30-
condition: '"$TRAVIS_PYTHON_VERSION" = "3.7" || "$TRAVIS_PYTHON_VERSION" = "2.7"'
27+
condition: '"$TRAVIS_PYTHON_VERSION" = "3.8"'
3128
distributions: "sdist bdist_wheel"
3229

3330
matrix:

setup.cfg

Lines changed: 46 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,49 @@
1+
[metadata]
2+
name = fluent-logger
3+
version = 1.0.0dev0
4+
description = A Python logging handler for FluentD event collector
5+
author = Kazuki Ohta
6+
author_email= [email protected]
7+
maintainer = Arcadiy Ivanov
8+
maintainer_email = [email protected]
9+
long_description = file: README.rst
10+
long_description_content_type = text/x-rst; charset=UTF-8
11+
license = Apache License, Version 2.0
12+
keywords = fluentd logging logger python
13+
url = https://github.com/fluent/fluent-logger-python/
14+
download_url = https://pypi.org/project/fluent-logger/
15+
project_urls =
16+
Bug Tracker = https://github.com/fluent/fluent-logger-python/issues
17+
Source Code = https://github.com/fluent/fluent-logger-python/
18+
Documentation = https://github.com/fluent/fluent-logger-python
19+
classifiers =
20+
License :: OSI Approved :: Apache Software License
21+
Programming Language :: Python :: 3
22+
Programming Language :: Python :: 3 :: Only
23+
Programming Language :: Python :: 3.4
24+
Programming Language :: Python :: 3.5
25+
Programming Language :: Python :: 3.6
26+
Programming Language :: Python :: 3.7
27+
Programming Language :: Python :: 3.8
28+
Programming Language :: Python :: Implementation :: CPython
29+
Programming Language :: Python :: Implementation :: PyPy
30+
Development Status :: 5 - Production/Stable
31+
Topic :: Software Development :: Libraries :: Python Modules
32+
Topic :: System :: Logging
33+
Intended Audience :: Developers
34+
35+
[options]
36+
zip_safe = True
37+
install_requires=
38+
msgpack
39+
packages =
40+
fluent
41+
package_dir =
42+
fluent = fluent
43+
include_package_data = True
44+
python_requires = >=3.5,<3.9
45+
test_suite = tests
46+
147
[nosetests]
248
match = ^test_
349
cover-package = fluent
@@ -6,5 +52,3 @@ cover-erase = 1
652
cover-branches = 1
753
cover-inclusive = 1
854
cover-min-percentage = 70
9-
[bdist_wheel]
10-
universal = 1

setup.py

Lines changed: 3 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -1,42 +1,5 @@
1-
#!/usr/bin/python
1+
#!/usr/bin/env python
22

3-
from os import path
3+
from setuptools import setup
44

5-
try:
6-
from setuptools import setup
7-
except ImportError:
8-
from distutils.core import setup
9-
10-
README = path.abspath(path.join(path.dirname(__file__), 'README.rst'))
11-
desc = 'A Python logging handler for Fluentd event collector'
12-
13-
setup(
14-
name='fluent-logger',
15-
version='0.9.4',
16-
description=desc,
17-
long_description=open(README).read(),
18-
package_dir={'fluent': 'fluent'},
19-
packages=['fluent'],
20-
install_requires=['msgpack'],
21-
author='Kazuki Ohta',
22-
author_email='[email protected]',
23-
url='https://github.com/fluent/fluent-logger-python',
24-
download_url='http://pypi.python.org/pypi/fluent-logger/',
25-
license='Apache License, Version 2.0',
26-
classifiers=[
27-
'Programming Language :: Python :: 2',
28-
'Programming Language :: Python :: 2.7',
29-
'Programming Language :: Python :: 3',
30-
'Programming Language :: Python :: 3.4',
31-
'Programming Language :: Python :: 3.5',
32-
'Programming Language :: Python :: 3.6',
33-
'Programming Language :: Python :: 3.7',
34-
'Programming Language :: Python :: Implementation :: CPython',
35-
'Programming Language :: Python :: Implementation :: PyPy',
36-
'Development Status :: 5 - Production/Stable',
37-
'Topic :: System :: Logging',
38-
'Intended Audience :: Developers',
39-
],
40-
python_requires=">=2.7,!=3.0,!=3.1,!=3.2,!=3.3,<3.9",
41-
test_suite='tests'
42-
)
5+
setup()

0 commit comments

Comments
 (0)