Skip to content

Commit

Permalink
Started major rewrite for 1.0
Browse files Browse the repository at this point in the history
Support all the latest and greatest protocol features
Async buffer with disk persistence
  • Loading branch information
arcivanov committed Oct 17, 2019
1 parent a37f313 commit b66dac9
Show file tree
Hide file tree
Showing 3 changed files with 50 additions and 46 deletions.
5 changes: 1 addition & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,10 @@
sudo: false
language: python
python:
- "2.7"
- "3.4"
- "3.5"
- "3.6"
- "3.7"
- "3.8"
- pypy
- pypy3
- nightly
# command to install dependencies, e.g. pip install -r requirements.txt --use-mirrors
Expand All @@ -27,7 +24,7 @@ deploy:
secure: CpNaj4F3TZvpP1aSJWidh/XexrWODV2sBdObrYU79Gyh9hFl6WLsA3JM9BfVsy9cGb/P/jP6ly4Z0/6qdIzZ5D6FPOB1B7rn5GZ2LAMOypRCA6W2uJbRjUU373Wut0p0OmQcMPto6XJsMlpvOEq+1uAq+LLAnAGEmmYTeskZebs=
on:
tags: true
condition: '"$TRAVIS_PYTHON_VERSION" = "3.7" || "$TRAVIS_PYTHON_VERSION" = "2.7"'
condition: '"$TRAVIS_PYTHON_VERSION" = "3.8"'
distributions: "sdist bdist_wheel"

matrix:
Expand Down
48 changes: 46 additions & 2 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -1,3 +1,49 @@
[metadata]
name = fluent-logger
version = 1.0.0dev0
description = A Python logging handler for FluentD event collector
author = Kazuki Ohta
author_email= [email protected]
maintainer = Arcadiy Ivanov
maintainer_email = [email protected]
long_description = file: README.rst
long_description_content_type = text/x-rst; charset=UTF-8
license = Apache License, Version 2.0
keywords = fluentd logging logger python
url = https://github.com/fluent/fluent-logger-python/
download_url = https://pypi.org/project/fluent-logger/
project_urls =
Bug Tracker = https://github.com/fluent/fluent-logger-python/issues
Source Code = https://github.com/fluent/fluent-logger-python/
Documentation = https://github.com/fluent/fluent-logger-python
classifiers =
License :: OSI Approved :: Apache Software License
Programming Language :: Python :: 3
Programming Language :: Python :: 3 :: Only
Programming Language :: Python :: 3.4
Programming Language :: Python :: 3.5
Programming Language :: Python :: 3.6
Programming Language :: Python :: 3.7
Programming Language :: Python :: 3.8
Programming Language :: Python :: Implementation :: CPython
Programming Language :: Python :: Implementation :: PyPy
Development Status :: 5 - Production/Stable
Topic :: Software Development :: Libraries :: Python Modules
Topic :: System :: Logging
Intended Audience :: Developers

[options]
zip_safe = True
install_requires=
msgpack
packages =
fluent
package_dir =
fluent = fluent
include_package_data = True
python_requires = >=3.5,<3.9
test_suite = tests

[nosetests]
match = ^test_
cover-package = fluent
Expand All @@ -6,5 +52,3 @@ cover-erase = 1
cover-branches = 1
cover-inclusive = 1
cover-min-percentage = 70
[bdist_wheel]
universal = 1
43 changes: 3 additions & 40 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,42 +1,5 @@
#!/usr/bin/python
#!/usr/bin/env python

from os import path
from setuptools import setup

try:
from setuptools import setup
except ImportError:
from distutils.core import setup

README = path.abspath(path.join(path.dirname(__file__), 'README.rst'))
desc = 'A Python logging handler for Fluentd event collector'

setup(
name='fluent-logger',
version='0.9.4',
description=desc,
long_description=open(README).read(),
package_dir={'fluent': 'fluent'},
packages=['fluent'],
install_requires=['msgpack'],
author='Kazuki Ohta',
author_email='[email protected]',
url='https://github.com/fluent/fluent-logger-python',
download_url='http://pypi.python.org/pypi/fluent-logger/',
license='Apache License, Version 2.0',
classifiers=[
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: Implementation :: CPython',
'Programming Language :: Python :: Implementation :: PyPy',
'Development Status :: 5 - Production/Stable',
'Topic :: System :: Logging',
'Intended Audience :: Developers',
],
python_requires=">=2.7,!=3.0,!=3.1,!=3.2,!=3.3,<3.9",
test_suite='tests'
)
setup()

0 comments on commit b66dac9

Please sign in to comment.