Skip to content
This repository was archived by the owner on Dec 21, 2024. It is now read-only.

Commit a6a5005

Browse files
authored
Merge pull request #71 from orsinium/fix/setuptools
Fix/setuptools
2 parents 469fc80 + 83be74f commit a6a5005

File tree

1 file changed

+14
-18
lines changed

1 file changed

+14
-18
lines changed

setup.py

Lines changed: 14 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,20 @@
1-
import sys
2-
if sys.version_info < (2, 7):
3-
print(sys.stderr, "{}: need Python 2.7 or later.".format(sys.argv[0]))
4-
print(sys.stderr, "Your Python is {}".format(sys.version))
5-
sys.exit(1)
6-
71
from setuptools import setup, find_packages
82

3+
94
setup(
10-
name = "python-json-logger",
11-
version = "0.1.9",
12-
url = "http://github.com/madzak/python-json-logger",
13-
license = "BSD",
14-
description = "A python library adding a json log formatter",
15-
author = "Zakaria Zajac",
16-
author_email = "zak@madzak.com",
17-
package_dir = {'': 'src'},
18-
packages = find_packages("src", exclude="tests"),
19-
test_suite = "tests.tests",
20-
install_requires = ['setuptools'],
21-
classifiers = [
5+
name="python-json-logger",
6+
version="0.1.9",
7+
url="http://github.com/madzak/python-json-logger",
8+
license="BSD",
9+
description="A python library adding a json log formatter",
10+
author="Zakaria Zajac",
11+
author_email="zak@madzak.com",
12+
package_dir={'': 'src'},
13+
packages=find_packages("src", exclude="tests"),
14+
# https://packaging.python.org/guides/distributing-packages-using-setuptools/#python-requires
15+
python_requires='>=2.7',
16+
test_suite="tests.tests",
17+
classifiers=[
2218
'Development Status :: 3 - Alpha',
2319
'Intended Audience :: Developers',
2420
'License :: OSI Approved :: BSD License',

0 commit comments

Comments
 (0)