-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathsetup.py
More file actions
44 lines (38 loc) · 1.4 KB
/
setup.py
File metadata and controls
44 lines (38 loc) · 1.4 KB
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
#!/usr/bin/env python
# -*- coding: "utf-8" -*-
from setuptools import setup, find_packages
import unittest
import sys
def test():
"""Specialized Python source builder."""
loader= unittest.TestLoader()
suite=loader.discover(".", "test_yahi.py")
runner=unittest.TextTestRunner()
result=runner.run(suite)
if not result.wasSuccessful():
raise Exception( "Test Failed: Aborting install")
if "sdist" in sys.argv or "bdist_egg" in sys.argv:
test()
long_description = open("README.md").read()
setup(
name='yahi',
version='0.4.1',
author='Julien Tayon, Stephane Bard',
author_email='julien@tayon.net',
packages=['yahi'],
install_requires=[ 'archery>=0.1', 'pygeoip', 'httpagentparser', 'repoze.lru>=0.6' ],
keywords=['log', 'parsing' ],
url='https://github.com/jul/yahi',
scripts=["scripts/speed_shoot", "scripts/yahi_all_in_one_maker"],
license=open('LICENSE.txt').read(),
description='Versatile log parser',
long_description_content_type='text/markdown',
long_description=long_description,
classifiers=[
'License :: OSI Approved :: Python Software Foundation License',
'Operating System :: MacOS :: MacOS X',
'Operating System :: Microsoft :: Windows',
'Operating System :: POSIX',
'Programming Language :: Python',
],
)