2021-08-31 15:00:55 +00:00
|
|
|
import os
|
2020-05-06 23:24:18 +00:00
|
|
|
import setuptools
|
|
|
|
|
|
|
|
long_description = open('README.md', 'r').read()
|
|
|
|
|
|
|
|
requirements = list(open('requirements.txt', 'r'))
|
|
|
|
|
2021-08-31 15:00:55 +00:00
|
|
|
optional_dev_tag = ''
|
|
|
|
if os.getenv('DEV_BUILD'):
|
2021-08-31 15:34:28 +00:00
|
|
|
optional_dev_tag = '.dev' + os.getenv('DEV_BUILD')
|
2021-08-31 15:00:55 +00:00
|
|
|
|
2020-05-06 23:24:18 +00:00
|
|
|
setuptools.setup(
|
|
|
|
author='Ben Busby',
|
2021-08-31 15:00:55 +00:00
|
|
|
author_email='contact@benbusby.com',
|
2020-05-06 23:24:18 +00:00
|
|
|
name='whoogle-search',
|
2021-10-11 23:44:57 +00:00
|
|
|
version='0.6.0' + optional_dev_tag,
|
2020-05-06 23:24:18 +00:00
|
|
|
include_package_data=True,
|
|
|
|
install_requires=requirements,
|
2021-02-07 23:55:27 +00:00
|
|
|
description='Self-hosted, ad-free, privacy-respecting metasearch engine',
|
2020-05-06 23:24:18 +00:00
|
|
|
long_description=long_description,
|
|
|
|
long_description_content_type='text/markdown',
|
|
|
|
url='https://github.com/benbusby/whoogle-search',
|
2020-05-07 00:13:02 +00:00
|
|
|
entry_points={
|
|
|
|
'console_scripts': [
|
|
|
|
'whoogle-search=app.routes:run_app',
|
|
|
|
]
|
|
|
|
},
|
2020-05-06 23:24:18 +00:00
|
|
|
packages=setuptools.find_packages(),
|
|
|
|
classifiers=[
|
|
|
|
'Programming Language :: Python :: 3',
|
|
|
|
'License :: OSI Approved :: MIT License',
|
|
|
|
'Operating System :: OS Independent',
|
|
|
|
],
|
|
|
|
)
|