forked from NikolaiT/GoogleScraper
-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
28 lines (24 loc) · 871 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
#!/usr/bin/env python
# -*- 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 Google search results',
long_description=open('README.md').read(),
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_data={
'GoogleScraper': ['config.cfg'],
},
install_requires=requirements
)