forked from NikolaiT/GoogleScraper
-
Notifications
You must be signed in to change notification settings - Fork 4
/
setup.py
26 lines (23 loc) · 870 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
#!/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]
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(),
author='Nikolai Tschacher',
author_email='admin@incolumitas.com',
url='http://incolumitas.com',
py_modules=['usage'],
packages=['GoogleScraper'],
entry_points={'console_scripts': ['GoogleScraper = GoogleScraper.core:main']},
package_dir={'examples': 'examples'},
install_requires=requirements
)