|
1 | | -#!/usr/bin/python |
| 1 | +#!/usr/bin/env python |
2 | 2 |
|
3 | | -from os import path |
| 3 | +from setuptools import setup |
4 | 4 |
|
5 | | -try: |
6 | | - from setuptools import setup |
7 | | -except ImportError: |
8 | | - from distutils.core import setup |
9 | | - |
10 | | -README = path.abspath(path.join(path.dirname(__file__), 'README.rst')) |
11 | | -desc = 'A Python logging handler for Fluentd event collector' |
12 | | - |
13 | | -setup( |
14 | | - name='fluent-logger', |
15 | | - version='0.9.4', |
16 | | - description=desc, |
17 | | - long_description=open(README).read(), |
18 | | - package_dir={'fluent': 'fluent'}, |
19 | | - packages=['fluent'], |
20 | | - install_requires=['msgpack'], |
21 | | - author='Kazuki Ohta', |
22 | | - author_email='kazuki.ohta@gmail.com', |
23 | | - url='https://github.com/fluent/fluent-logger-python', |
24 | | - download_url='http://pypi.python.org/pypi/fluent-logger/', |
25 | | - license='Apache License, Version 2.0', |
26 | | - classifiers=[ |
27 | | - 'Programming Language :: Python :: 2', |
28 | | - 'Programming Language :: Python :: 2.7', |
29 | | - 'Programming Language :: Python :: 3', |
30 | | - 'Programming Language :: Python :: 3.4', |
31 | | - 'Programming Language :: Python :: 3.5', |
32 | | - 'Programming Language :: Python :: 3.6', |
33 | | - 'Programming Language :: Python :: 3.7', |
34 | | - 'Programming Language :: Python :: Implementation :: CPython', |
35 | | - 'Programming Language :: Python :: Implementation :: PyPy', |
36 | | - 'Development Status :: 5 - Production/Stable', |
37 | | - 'Topic :: System :: Logging', |
38 | | - 'Intended Audience :: Developers', |
39 | | - ], |
40 | | - python_requires=">=2.7,!=3.0,!=3.1,!=3.2,!=3.3,<3.9", |
41 | | - test_suite='tests' |
42 | | -) |
| 5 | +setup() |
0 commit comments