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