-
Notifications
You must be signed in to change notification settings - Fork 7
/
setup.py
46 lines (43 loc) · 1.37 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
import setuptools
from os import sys
needs_pytest = {'pytest', 'test', 'ptr'}.intersection(sys.argv)
pytest_runner = ['pytest-runner'] if needs_pytest else []
with open('README.md') as readme:
long_description = readme.read()
setuptools.setup(
name="site-map-parser",
version="0.3.9",
author="Dave O'Connor",
author_email="[email protected]",
description="Script/Library to read and parse sitemap.xml data",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/daveoconnor/site-map-parser",
packages=setuptools.find_packages(),
classifiers=[
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
],
scripts=['smapper'],
include_package_data=True,
package_data={
'': ['*.ini'],
},
python_requires='>=3.6',
tests_require=["pytest"],
setup_requires=[
"setuptools>=57.1.0",
"twine>=3.4.1",
] + pytest_runner,
install_requires=[
'lxml',
'requests',
'python-dateutil',
]
)