forked from GateNLP/ultimate-sitemap-parser
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
executable file
·72 lines (57 loc) · 2.05 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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
#!/usr/bin/env python
from setuptools import setup, find_packages
from usp.__about__ import __version__
def __readme():
with open('README.rst', mode='r', encoding='utf-8') as f:
return f.read()
tests_require = [
# Mock HTTP server
'requests_mock>=1.6.0,<2.0',
# Running tests
'pytest>=2.8',
]
setup(
name='ultimate-sitemap-parser',
version=__version__,
description='Ultimate Sitemap Parser',
long_description=__readme(),
author='Linas Valiukas, Hal Roberts, Media Cloud project',
author_email='[email protected], [email protected]',
url='https://github.com/mediacloud/ultimate-sitemap-parser',
license='GPLv3+',
keywords="sitemap sitemap-xml parser",
packages=find_packages(exclude=['tests']),
zip_safe=True,
python_requires='>=3.5',
install_requires=[
# Parsing arbitrary dates (sitemap date format is standardized but some implementations take liberties)
'python-dateutil>=2.1,<3.0.0',
# Making HTTP requests
'requests>=2.2.1',
],
setup_requires=[
# Running tests as part of setup.py
'pytest-runner>=4.2,<5.0',
],
tests_require=tests_require,
extras_require={
'test': tests_require,
},
classifiers=[
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'Intended Audience :: Information Technology',
'License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)',
'Programming Language :: Python',
'Operating System :: OS Independent',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3 :: Only',
'Programming Language :: Python :: Implementation :: PyPy',
'Topic :: Internet :: WWW/HTTP :: Indexing/Search',
'Topic :: Text Processing :: Indexing',
'Topic :: Text Processing :: Markup :: XML',
]
)