The new site filter breaks links to Maps results, so filter.py needed to be updated to handle these links as a unique case. A new method was introduced to easily remove any "-site:..." filters from the query, which is now also used to format queries in the header template rather than manually removing the blocked site list within the template itself. Bumps version to 0.5.1 for releasing the bugfix Fixes #329
30 lines
868 B
Python
30 lines
868 B
Python
import setuptools
|
|
|
|
long_description = open('README.md', 'r').read()
|
|
|
|
requirements = list(open('requirements.txt', 'r'))
|
|
|
|
setuptools.setup(
|
|
author='Ben Busby',
|
|
author_email='benbusby@protonmail.com',
|
|
name='whoogle-search',
|
|
version='0.5.1',
|
|
include_package_data=True,
|
|
install_requires=requirements,
|
|
description='Self-hosted, ad-free, privacy-respecting metasearch engine',
|
|
long_description=long_description,
|
|
long_description_content_type='text/markdown',
|
|
url='https://github.com/benbusby/whoogle-search',
|
|
entry_points={
|
|
'console_scripts': [
|
|
'whoogle-search=app.routes:run_app',
|
|
]
|
|
},
|
|
packages=setuptools.find_packages(),
|
|
classifiers=[
|
|
'Programming Language :: Python :: 3',
|
|
'License :: OSI Approved :: MIT License',
|
|
'Operating System :: OS Independent',
|
|
],
|
|
)
|