forked from NikolaiT/GoogleScraper
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
executable file
·29 lines (24 loc) · 1016 Bytes
/
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
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
import re
from setuptools import setup
version = re.search(
"^__version__\s*=\s*'(.*)'",
open('GoogleScraper/version.py').read(),
re.M).group(1)
requirements = [r for r in open('requirements.txt', 'r').read().split('\n') if r]
# https://dustingram.com/articles/2018/03/16/markdown-descriptions-on-pypi
setup(name='GoogleScraper',
version=version,
description='A module to scrape and extract links, titles and descriptions from various search engines. Supports google,bing,yandex and many more.',
long_description=open('README.md').read(),
long_description_content_type="text/markdown",
author='Nikolai Tschacher',
author_email='[email protected]',
url='http://incolumitas.com',
py_modules=['usage'],
packages=['GoogleScraper'],
entry_points={'console_scripts': ['GoogleScraper = GoogleScraper.core:main']},
package_dir={'examples': 'examples'},
install_requires=requirements
)