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

Started major rewrite for 1.0 #151

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
arcivanov wants to merge 10 commits into fluent:develop
base: develop
Choose a base branch
Loading
from arcivanov:started_1.0
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 0 additions & 8 deletions .coveragerc
View file Open in desktop

This file was deleted.

51 changes: 51 additions & 0 deletions .github/workflows/build.yml
View file Open in desktop
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
name: fluent-logger
on:
pull_request:
push:
branches:
- master
jobs:
build-stable:
runs-on: ${{ matrix.os }}
continue-on-error: false
strategy:
fail-fast: false
matrix:
os:
- ubuntu-latest
- windows-latest
- macosx-latest
python-version:
- '3.10'
- '3.9'
- '3.8'
- '3.7'
- '3.6'
- 'pypy-3.7'
env:
DEPLOY_PYTHONS: "3.9"
DEPLOY_OSES: "Linux"
TWINE_USERNAME: __token__
TWINE_PASSWORD: ${{ secrets.PYPI_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
steps:
- shell: bash
if: |
github.event_name == 'push' &&
contains(env.DEPLOY_OSES, runner.os) &&
contains(env.DEPLOY_PYTHONS, matrix.python-version)
run: |
echo "PYB_EXTRA_ARGS=+upload" >> $GITHUB_ENV
- uses: pybuilder/build@master
with:
python-version: ${{ matrix.python-version }}
pyb-extra-args: ${{ env.PYB_EXTRA_ARGS }}
build-stable-summary:
if: success() || failure()
runs-on: ubuntu-latest
name: Build Stable Summary
needs: build-stable
steps:
- name: Check build matrix status
if: needs.build-stable.result != 'success'
run: exit 1
5 changes: 4 additions & 1 deletion .gitignore
View file Open in desktop
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,7 @@
/.tox
/build
/dist
.idea/
/.idea
/.pybuilder
__pycache__
/target
35 changes: 0 additions & 35 deletions .travis.yml
View file Open in desktop

This file was deleted.

View file Open in desktop
File renamed without changes.
4 changes: 0 additions & 4 deletions MANIFEST.in
View file Open in desktop

This file was deleted.

5 changes: 3 additions & 2 deletions README.rst
View file Open in desktop
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,10 @@ Python application.
Requirements
------------

- Python 2.7 or 3.4+
- ``msgpack-python``
- Python 3.6+
- ``msgpack``
- **IMPORTANT**: Version 0.8.0 is the last version supporting Python 2.6, 3.2 and 3.3
- **IMPORTANT**: Version 0.9.6 is the last version supporting Python 2.7, 3.4 and 3.5

Installation
------------
Expand Down
85 changes: 85 additions & 0 deletions build.py
View file Open in desktop
Original file line number Diff line number Diff line change
@@ -0,0 +1,85 @@
# -*- coding: utf-8 -*-
from pybuilder.core import use_plugin, init, Author

use_plugin("python.core")
use_plugin("python.unittest")
use_plugin("python.flake8")
use_plugin("python.coverage")
use_plugin("python.coveralls")
use_plugin("python.distutils")
use_plugin("python.pycharm")
use_plugin("copy_resources")


name = "fluent-logger"
summary = "A Python logging handler for FluentD event collector"

authors = [Author("Kazuki Ohta", "kazuki.ohta@gmail.com")]
maintainers = [Author("Arcadiy Ivanov", "arcadiy@ivanov.biz")]

url = "https://github.com/fluent/fluent-logger-python"
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"
}
license = "Apache License, Version 2.0"
version = "1.0.0.dev"

requires_python = ">=3.6"

default_task = ["analyze", "publish"]


@init
def set_properties(project):
project.build_depends_on("docker", ">=5.0")
project.build_depends_on("cryptography", ">=2.9.0")

project.set_property("verbose", True)

project.set_property("coverage_break_build", False)
project.get_property("coverage_exceptions").extend(["setup"])

project.set_property("flake8_break_build", True)
project.set_property("flake8_extend_ignore", "E303")
project.set_property("flake8_include_test_sources", True)
project.set_property("flake8_max_line_length", 130)

project.set_property("frosted_include_test_sources", True)
project.set_property("frosted_include_scripts", True)

project.set_property("copy_resources_target", "$dir_dist/fluent")
project.get_property("copy_resources_glob").append("LICENSE")
project.include_file("fluent", "LICENSE")

# PyPy distutils needs os.environ['PATH'] not matter what
# Also Windows needs PATH for DLL loading in all Pythons
project.set_property("integrationtest_inherit_environment", True)

project.set_property("distutils_readme_description", True)
project.set_property("distutils_description_overwrite", True)
project.set_property("distutils_readme_file", "README.rst")
project.set_property("distutils_upload_skip_existing", True)
project.set_property("distutils_setup_keywords", ["fluentd", "logging", "logger", "python"])

project.set_property("distutils_classifiers", [
"Programming Language :: Python",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only"
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Operating System :: MacOS :: MacOS X",
"Operating System :: POSIX :: Linux",
"Operating System :: Microsoft :: Windows",
"Operating System :: OS Independent",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: System :: Logging"
"Intended Audience :: Developers",
"Development Status :: 5 - Production/Stable",
])

Loading

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