-
Notifications
You must be signed in to change notification settings - Fork 29
/
setup.py
57 lines (53 loc) · 1.86 KB
/
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
import re
import sys
from setuptools import setup
# Get version without importing, which avoids dependency issues
def get_version():
with open('serpextract/__init__.py') as version_file:
return re.search(r"""__version__\s+=\s+(['"])(?P<version>.+?)\1""",
version_file.read()).group('version')
install_requires = [
'iso3166 >= 0.4',
'pylru >= 1.0.3',
'tldextract >= 1.2',
'ruamel.yaml'
]
with open('README.rst', 'r') as f:
long_description = f.read()
setup(
name='serpextract',
version=get_version(),
author='Mike Sukmanowsky',
author_email='[email protected]',
packages=['serpextract',],
url='http://github.com/Parsely/serpextract/',
license='LICENSE.txt',
keywords='search engines keyword extract',
description='Easy extraction of keywords from search engine results pages (SERPs).',
long_description=long_description,
install_requires=install_requires,
include_package_data=True,
platforms='any',
classifiers=[
# Taken from http://pypi.python.org/pypi?%3Aaction=list_classifiers
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'Intended Audience :: End Users/Desktop',
'Intended Audience :: Information Technology',
'License :: OSI Approved :: BSD License',
'Operating System :: MacOS',
'Operating System :: Microsoft :: Windows',
'Operating System :: POSIX',
'Programming Language :: Python',
'Topic :: Internet :: WWW/HTTP',
'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
'Topic :: Internet :: WWW/HTTP :: Indexing/Search',
'Topic :: Software Development :: Libraries :: Python Modules',
'Topic :: Utilities',
],
entry_points={
'console_scripts': [
'serpextract = serpextract.serpextract:main',
]
},
)