Skip to content

Commit

Permalink
move tests to project root
Browse files Browse the repository at this point in the history
  • Loading branch information
dangra committed Aug 20, 2014
1 parent be83ce4 commit ac08e09
Show file tree
Hide file tree
Showing 10 changed files with 8 additions and 5 deletions.
4 changes: 2 additions & 2 deletions conftest.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import six
collect_ignore = ["scrapy/stats.py"]
collect_ignore = []

if six.PY3:
for fn in open('w3lib/tests/py3-ignores.txt'):
for fn in open('tests/py3-ignores.txt'):
if fn.strip():
collect_ignore.append(fn.strip())
7 changes: 5 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
from setuptools import setup
from setuptools import setup, find_packages


setup(
name='w3lib',
Expand All @@ -8,7 +9,9 @@
author='Scrapy project',
author_email='info@scrapy.org',
url='https://github.com/scrapy/w3lib',
packages=['w3lib'],
packages=find_packages(include=('w3lib', 'w3lib.*')),
include_package_data=True,
zip_zafe=False,
platforms=['Any'],
classifiers=[
'Development Status :: 5 - Production/Stable',
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ envlist = py27, pypy, py33, py34
deps =
pytest
commands =
py.test {posargs:w3lib}
py.test {posargs:w3lib tests}

0 comments on commit ac08e09

Please sign in to comment.