Skip to content

Scrapy, a fast high-level web crawling & scraping framework for Python.

PY3 split requirements into files

nyov4d41cc0dc482
diff --git a/requirements-py3.txt b/requirements-py3.txt
new file mode 100644
index 000000000..81669da39
--- /dev/null
+++ b/requirements-py3.txt
@@ -0,0 +1,6 @@
+Twisted >= 15.1.0
+lxml>=3.2.4
+pyOpenSSL>=0.13.1
+cssselect>=0.9
+queuelib>=1.1.1
+w3lib>=1.8.0
diff --git a/tests/requirements-py3.txt b/tests/requirements-py3.txt
new file mode 100644
index 000000000..a92fdd4a8
--- /dev/null
+++ b/tests/requirements-py3.txt
@@ -0,0 +1,3 @@
+pytest>=2.6.0
+pytest-twisted
+testfixtures
diff --git a/tox.ini b/tox.ini
index 5c8c8c78d..fe6b5de38 100644
--- a/tox.ini
+++ b/tox.ini
@@ -40,18 +40,11 @@ commands =
[testenv:py33]
basepython = python3.3
deps =
- Twisted >= 15.1.0
- lxml>=3.2.4
- pyOpenSSL>=0.13.1
- cssselect>=0.9
- queuelib>=1.1.1
- w3lib>=1.8.0
+ -rrequirements-py3.txt
+ # Extras
Pillow
service_identity
- # tests requirements
- pytest>=2.6.0
- pytest-twisted
- testfixtures
+ -rtests/requirements-py3.txt
[testenv:py34]
basepython = python3.4