-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
69 lines (61 loc) · 2.06 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
68
69
import unittest
import os
from setuptools import setup
from distutils.core import Command
from boyermoore import __version__
HERE = os.path.abspath(os.path.dirname(__file__))
README = os.path.join(HERE, "README.rst")
class RunBoyerMooreTests(Command):
user_options = []
def initialize_options(self):
pass
def finalize_options(self):
pass
def run(self):
suite = unittest.TestLoader().discover("tests")
t = unittest.TextTestRunner(verbosity = 2)
t.run(suite)
with open(README, 'r', encoding='utf-8') as f:
long_description = f.read()
setup(
name='boyermoore',
version=__version__,
description=('Boyer-moore in pure python, search for unicode strings in large files very quickly'),
long_description=long_description,
url='http://github.com/eriknyquist/boyermoore',
author='Erik Nyquist',
author_email='eknyquist@gmail.com',
license='Apache 2.0',
packages=['boyermoore'],
cmdclass={'test': RunBoyerMooreTests},
include_package_data=True,
zip_safe=False,
python_requires=">=3.7",
keywords=[
"boyermoore",
"boyer-moore",
"search",
"filesearch",
"fastsearch",
"boyermorehorspool",
"boyer-moore-horspool"
],
classifiers=[
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"Intended Audience :: Education",
"Intended Audience :: Information Technology",
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
],
project_urls={
"Documentation": "https://eriknyquist.github.io/boyermoore",
"Issues": "https://github.com/eriknyquist/boyermoore/issues",
"Contributions": "https://eriknyquist.github.io/boyermoore/#contributions"
}
)