Skip to content

Commit 68da3b4

Browse files
author
thang
committed
prepare for PyPi release
1 parent ff66c0a commit 68da3b4

File tree

5 files changed

+35
-8
lines changed

5 files changed

+35
-8
lines changed

CHANGELOG.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# Change Log
2+
All notable changes to this project will be documented in this file.
3+
4+
This project adheres to [Semantic Versioning](http://semver.org/).
5+
The format is based on [Keep a Changelog](http://keepachangelog.com/).
6+
7+
## [Unreleased]
8+
- Introduced sap namespace
9+
10+
11+
## 1.0.0 - 2017-12-24
12+
13+
### Changed
14+
- Initial release

MANIFEST.in

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
include CHANGELOG.md LICENSE README.md

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@ If you're using Cloud Foundry, it worth to check out the library [SAP/cf-python-
1717
7. [References](#7-references)
1818

1919
# 1. Features
20-
1. Emit JSON logs.([format detail](#0-full-logging-format-references))
20+
1. Emit JSON logs ([format detail](#0-full-logging-format-references))
2121
2. Support **correlation-id** [\[1\]](#1-what-is-correlation-idrequest-id)
22-
3. Lightweight, no dependencies. Minimal configuration needed (1 LoC to get it working)
22+
3. Lightweight, no dependencies, minimal configuration needed (1 LoC to get it working)
2323
4. Fully compatible with Python **logging** module. Support both Python 2.7.x and 3.x
2424
5. Support HTTP request instrumentation. Built in support for [Flask](http://flask.pocoo.org/) & [Sanic](http://flask.pocoo.org/). Extensible to support other web frameworks. PR welcome :smiley: .
2525
6. Support inject arbitrary extra properties to JSON log message.

setup.cfg

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
[bdist_wheel]
2+
# This flag says that the code is written to work on both Python 2 and Python
3+
# 3. If at all possible, it is good practice to do this. If you cannot, you
4+
# will need to generate wheels for each Python version that you support.
5+
universal=1
6+
7+
[metadata]
8+
license_file=LICENSE
9+
long_description=file: README.md

setup.py

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,21 @@
1-
from setuptools import setup
1+
from setuptools import setup, find_packages
22

33
setup(
44
name="json-logging",
5-
version='0.0.1',
6-
packages=['json_logging'],
5+
version='1.0.0',
6+
packages=find_packages(exclude=['contrib', 'docs', 'tests*', 'example', 'dist', 'build']),
7+
license='Apache License 2.0',
78
description="JSON Python Logging",
89
long_description=open('README.md').read(),
910
author="Bui Nguyen Thang (Bob)",
10-
author_email="thang.bn@live.com",
11-
keywords=["json", "python", "logging", "request instrumentation"],
11+
author_email="bob.bui@outlook.com",
12+
keywords=["json", "elastic", "python", "python3", "python2", "logging", "logging-library", "json", "elasticsearch",
13+
"elk", "elk-stack", "logstash", "kibana"],
1214
platforms='any',
1315
url="https://github.com/thangbn/json-logging",
16+
python_requires='>=2.6, >=3.2',
1417
classifiers=[
15-
'Development Status :: 3 - Alpha',
18+
'Development Status :: 5 - Production/Stable',
1619
'Intended Audience :: Developers',
1720
'License :: OSI Approved :: Apache Software License',
1821
'Operating System :: OS Independent',

0 commit comments

Comments
 (0)