-
Notifications
You must be signed in to change notification settings - Fork 2
/
setup.py
35 lines (30 loc) · 1.01 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
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import codecs
import os
from setuptools import setup
def read(fname):
file_path = os.path.join(os.path.dirname(__file__), fname)
return codecs.open(file_path, encoding="utf-8").read()
setup(
name="scrapy-mock",
version="0.1.0",
author="Thiago Curvelo",
author_email="[email protected]",
maintainer="Thiago Curvelo",
maintainer_email="[email protected]",
license="MIT",
url="https://github.com/tcurvelo/scrapy-mock",
description="A Pytest plugin to record Scrapy responses and use them as testing fixtures.",
long_description=read("README.rst"),
py_modules=["scrapy_mock"],
python_requires=">=3.7",
install_requires=["pytest", "requests", "Scrapy", "vcrpy"],
classifiers=[
"Framework :: Pytest",
"Intended Audience :: Developers",
"Topic :: Software Development :: Testing",
"License :: OSI Approved :: MIT License",
],
entry_points={"pytest11": ["scrapy-mock = scrapy_mock"]},
)