-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathsetup.py
67 lines (51 loc) · 1.94 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
"""timecat pip setup file
@author xuruiqi([email protected])
@site https://github.com/fanfank/timecat
@date 20160108
"""
from codecs import open
from os import path
from setuptools import setup, find_packages
CUR_DIR = path.abspath(path.dirname(__file__))
#with open(path.join(CUR_DIR, "README.rst"), encoding = "utf-8") as f:
# long_description = f.read()
long_description = \
"Usage: timecat -s '2016-01-02 20:13:14' -e '2016-01-02 20:14:13', " \
"or: timecat -d '2016-01-02' -s '20:13:14' -e '20:14:13'. timecat " \
"output contents within the specified [start, end) range, saving " \
"huge amounts of disk I/Os. " \
"Timecat supports popular datetime formats say syslog, apache, " \
"nginx, timestamp, etc."
setup(
name = "timecat",
version = "1.0.2",
description = "a powerful tool for searching log files " \
"with binary search algorithm",
long_description = long_description,
url = "https://github.com/fanfank/timecat",
author = "xuruiqi",
license = "MIT",
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"Intended Audience :: System Administrators",
"Operating System :: POSIX :: Linux",
"Operating System :: MacOS",
"Topic :: Utilities",
"Topic :: System :: Systems Administration",
"Topic :: Text Processing :: Filters",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 2",
"Programming Language :: Python :: 2.6",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 2 :: Only",
],
scripts = ["timecat"],
keywords = "log binary search tool",
packages = [],
install_requires = [],
extra_require = {},
data_files = [],
entry_points = {}
)