-
Notifications
You must be signed in to change notification settings - Fork 27
Expand file tree
/
Copy pathsetup.py
More file actions
69 lines (63 loc) · 2.24 KB
/
Copy pathsetup.py
File metadata and controls
69 lines (63 loc) · 2.24 KB
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
58
59
60
61
62
63
64
65
66
67
68
69
import re
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="mike@parsely.com",
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",
python_requires=">=3.9",
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",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3 :: Only",
"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",
]
},
)