Adding setup for pip packaging
parent
d01f56ea03
commit
9ca74397b4
@ -0,0 +1,3 @@
|
|||||||
|
graft app/static
|
||||||
|
graft app/templates
|
||||||
|
global-exclude *.pyc
|
@ -0,0 +1,25 @@
|
|||||||
|
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.1.0',
|
||||||
|
scripts=['whoogle-search'],
|
||||||
|
include_package_data=True,
|
||||||
|
install_requires=requirements,
|
||||||
|
description='Self-hosted, ad-free, privacy-respecting alternative to Google search',
|
||||||
|
long_description=long_description,
|
||||||
|
long_description_content_type='text/markdown',
|
||||||
|
url='https://github.com/benbusby/whoogle-search',
|
||||||
|
packages=setuptools.find_packages(),
|
||||||
|
classifiers=[
|
||||||
|
'Programming Language :: Python :: 3',
|
||||||
|
'License :: OSI Approved :: MIT License',
|
||||||
|
'Operating System :: OS Independent',
|
||||||
|
],
|
||||||
|
)
|
@ -1,7 +1,7 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
# Usage:
|
# Usage:
|
||||||
# ./run # Runs the full web app
|
# ./whoogle-search # Runs the full web app
|
||||||
# ./run test # Runs the testing suite
|
# ./whoogle-search test # Runs the testing suite
|
||||||
|
|
||||||
SCRIPT_DIR="$(cd "$(dirname "$0")" && pwd -P)"
|
SCRIPT_DIR="$(cd "$(dirname "$0")" && pwd -P)"
|
||||||
|
|
Loading…
Reference in New Issue