forked from daveoconnor/site-map-parser
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
34 lines (30 loc) · 1003 Bytes
/
Copy pathsetup.py
File metadata and controls
34 lines (30 loc) · 1003 Bytes
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
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.3",
author="Dave O'Connor",
author_email="github@dead-pixels.org",
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",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
],
scripts=['smapper'],
include_package_data=True,
package_data={
'': ['*.ini'],
},
python_requires='>=3.5',
tests_require=["pytest"],
setup_requires=[] + pytest_runner,
)