Skip to content

Commit bf46dfa

Browse files
added setup.py
1 parent b5300af commit bf46dfa

File tree

3 files changed

+35
-1
lines changed

3 files changed

+35
-1
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
# python-json-logger
2-
an expansion to the existing python logger
2+
An extension of Python's built-in logger

VERSION.txt

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
0.0.1

setup.py

+33
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
from setuptools import setup, find_packages
2+
3+
with open('VERSION.txt', 'r') as v:
4+
version = v.read().strip()
5+
6+
with open('README.md', 'r') as r:
7+
readme = r.read()
8+
9+
download_url = (
10+
'https://github.com/jerinpetergeorge/python-json-logger/tarball/%s'
11+
)
12+
13+
with open("README.md", "r") as fh:
14+
long_description = fh.read()
15+
16+
setup(
17+
name="redis-json-logger",
18+
version=version,
19+
author="Jerin Peter George",
20+
author_email="[email protected]",
21+
description="An extension of Python's built-in logger",
22+
long_description=long_description,
23+
long_description_content_type="text/markdown",
24+
url="https://github.com/jerinpetergeorge/python-json-logger",
25+
packages=find_packages(),
26+
classifiers=[
27+
"Programming Language :: Python :: 3",
28+
"Operating System :: OS Independent",
29+
],
30+
download_url=download_url % version,
31+
install_requires=['redis'],
32+
license='MIT-Zero'
33+
)

0 commit comments

Comments
 (0)