Skip to content

Commit 521c136

Browse files
author
thang
committed
add reStructuredText readme
1 parent ac6794d commit 521c136

File tree

2 files changed

+8
-43
lines changed

2 files changed

+8
-43
lines changed

README.rst

+6-41
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,11 @@ searchable by logging infrastructure such as
77

88
| If you’re using Cloud Foundry, it worth to check out the library
99
`SAP/cf-python-logging-support <https://github.com/SAP/cf-python-logging-support>`__
10-
which I’m also original author and contributor. # Content 1.
11-
`Features <#1-features>`__ 2. `Usage <#2-usage>`__
10+
which I’m also original author and contributor.
11+
12+
# Content
13+
=========
14+
1.`Features <#1-features>`__ 2. `Usage <#2-usage>`__
1215
| 2.1 `Non-web application log <#21-non-web-application-log>`__
1316
| 2.2 `Web application log <#22-web-application-log>`__
1417
| 2.3 `Get current correlation-id <#23-get-current-correlation-id>`__
@@ -579,42 +582,4 @@ https://docs.python.org/2/library/logging.html#logging.Logger.propagate
579582
[3] more on flask use_reloader
580583
------------------------------
581584

582-
http://flask.pocoo.org/docs/0.12/errorhandling/#working-with-debuggers
583-
584-
Development
585-
===========
586-
587-
::
588-
589-
[distutils]
590-
index-servers =
591-
pypi
592-
pypitest
593-
594-
[pypi]
595-
repository: https://upload.pypi.org/legacy/
596-
username:
597-
password:
598-
599-
[pypitest]
600-
repository: https://test.pypi.org/legacy/
601-
username=
602-
password=
603-
604-
pypitest
605-
606-
::
607-
608-
python setup.py sdist upload -r pypitest
609-
python setup.py bdist_wheel --universal upload -r pypitest
610-
pip3 install json_logging --index-url https://test.pypi.org/simple/
611-
612-
pypi
613-
614-
::
615-
616-
python setup.py sdist upload -r pypi
617-
python setup.py bdist_wheel --universal upload -r pypi
618-
pip3 install json_logging
619-
620-
bdist_wheel –universal
585+
http://flask.pocoo.org/docs/0.12/errorhandling/#working-with-debuggers

setup.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@
22

33
setup(
44
name="json-logging",
5-
version='0.0.1',
5+
version='0.0.3',
66
packages=find_packages(exclude=['contrib', 'docs', 'tests*', 'example', 'dist', 'build']),
77
license='Apache License 2.0',
88
description="JSON Python Logging",
9-
long_description=open('README.md').read(),
9+
long_description=open('README.rst').read(),
1010
author="Bui Nguyen Thang (Bob)",
1111
author_email="bob.bui@outlook.com",
1212
keywords=["json", "elastic", "python", "python3", "python2", "logging", "logging-library", "json", "elasticsearch",

0 commit comments

Comments
 (0)