Skip to content

Commit

Permalink
Merge branch 'topic/modernize_2016' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
chfoo committed Jun 2, 2016
2 parents 77b24f7 + 52321b0 commit 4d6b668
Show file tree
Hide file tree
Showing 254 changed files with 12,636 additions and 12,654 deletions.
28 changes: 4 additions & 24 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,8 @@ sudo: false

language: python
python:
- 3.2
- 3.3
- 3.4
- 3.5
- pypy3

addons:
apt:
packages:
- liblua5.2-dev

cache:
directories:
Expand All @@ -23,32 +15,20 @@ branches:
except:
- topic/rewrite_phantomjs
- topic/rewrite_phantomjs_2
- topic/modernize_2016


# command to install dependencies
install:
- if [[ $TRAVIS_PYTHON_VERSION != 'pypy3' ]]; then
travis_retry pip install -q -r requirements.txt;
else
travis_retry pip install -q -r requirements-pypy.txt;
fi
- if [[ $TRAVIS_PYTHON_VERSION != 'pypy3' ]]; then
pip install -q git+https://github.com/bastibe/lunatic-python.git@f3f68d2c8638c6f423912264aeb750f5f7eb14ee#egg=lunatic-python;
fi
- travis_retry pip install -q -r requirements.txt;
- travis_retry pip install -q coverage python-coveralls warcat youtube-dl


# command to run tests
script:
- pip install . -t thematrix/ --no-dependencies
- if [[ $TRAVIS_PYTHON_VERSION != 'pypy3' && $TRAVIS_PYTHON_VERSION != '3.2' ]]; then
cd thematrix/ && nosetests --with-coverage --cover-package=wpull --cover-branches;
else
cd thematrix/ && nosetests;
fi
- cd thematrix/ && nosetests --with-coverage --cover-package=wpull --cover-branches


after_success:
- if [[ $TRAVIS_PYTHON_VERSION != 'pypy3' && $TRAVIS_PYTHON_VERSION != '3.2' ]]; then
coveralls;
fi
- coveralls
3 changes: 1 addition & 2 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Features:
* Written in Python: lightweight, modifiable, & robust
* Familiar Wget options and behavior
* Graceful stopping; on-disk database resume
* Python & Lua scripting support
* Python scripting support
* PhantomJS & youtube-dl integration (experimental)


Expand Down Expand Up @@ -101,7 +101,6 @@ Copyright 2013-2015 by Christopher Foo and others. License GPL v3.
This project contains third-party source code licensed under different terms:

* wpull.backport.logging
* wpull.backport.textwrap
* wpull.thirdparty.robotexclusionrulesparser
* wpull.thirdparty.dammit

Expand Down
4 changes: 2 additions & 2 deletions doc/api.rst
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ Here lists all documented classes and functions. Not all members are documented

If the documentation is not sufficient, please take a look at the source code. Suggestions and improvements are welcomed.

.. Note:: The API is not thread-safe. It is intended to be run asynchronously with Trollius.
.. Note:: The API is not thread-safe. It is intended to be run asynchronously with Asyncio.

Many functions also are decorated with the :func:`trollius.coroutine` decorator. For more information, see http://trollius.readthedocs.org/.
Many functions also are decorated with the :func:`asyncio.coroutine` decorator. For more information, see https://docs.python.org/3/library/asyncio.html.


wpull Package
Expand Down
12 changes: 0 additions & 12 deletions doc/api/abstract.stream.rst

This file was deleted.

12 changes: 0 additions & 12 deletions doc/api/ftp.client.rst

This file was deleted.

12 changes: 0 additions & 12 deletions doc/api/ftp.command.rst

This file was deleted.

12 changes: 0 additions & 12 deletions doc/api/ftp.ls.date.rst

This file was deleted.

12 changes: 0 additions & 12 deletions doc/api/ftp.ls.listing.rst

This file was deleted.

12 changes: 0 additions & 12 deletions doc/api/ftp.ls.rst

This file was deleted.

12 changes: 0 additions & 12 deletions doc/api/ftp.request.rst

This file was deleted.

12 changes: 0 additions & 12 deletions doc/api/ftp.rst

This file was deleted.

12 changes: 0 additions & 12 deletions doc/api/ftp.stream.rst

This file was deleted.

12 changes: 0 additions & 12 deletions doc/api/ftp.util.rst

This file was deleted.

12 changes: 0 additions & 12 deletions doc/api/http.chunked.rst

This file was deleted.

12 changes: 0 additions & 12 deletions doc/api/http.client.rst

This file was deleted.

12 changes: 0 additions & 12 deletions doc/api/http.request.rst

This file was deleted.

12 changes: 0 additions & 12 deletions doc/api/http.robots.rst

This file was deleted.

12 changes: 0 additions & 12 deletions doc/api/http.rst

This file was deleted.

12 changes: 0 additions & 12 deletions doc/api/http.stream.rst

This file was deleted.

12 changes: 0 additions & 12 deletions doc/api/http.util.rst

This file was deleted.

12 changes: 0 additions & 12 deletions doc/api/http.web.rst

This file was deleted.

12 changes: 12 additions & 0 deletions doc/api/protocol.abstract.client.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
.. This document was automatically generated.
DO NOT EDIT!
:mod:`protocol.abstract.client` Module
======================================

.. automodule:: wpull.protocol.abstract.client
:members:
:show-inheritance:
:private-members:
:special-members:
:exclude-members: __dict__,__weakref__
12 changes: 12 additions & 0 deletions doc/api/protocol.abstract.request.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
.. This document was automatically generated.
DO NOT EDIT!
:mod:`protocol.abstract.request` Module
=======================================

.. automodule:: wpull.protocol.abstract.request
:members:
:show-inheritance:
:private-members:
:special-members:
:exclude-members: __dict__,__weakref__
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
.. This document was automatically generated.
DO NOT EDIT!
:mod:`abstract.request` Module
==============================
:mod:`protocol.abstract` Module
===============================

.. automodule:: wpull.abstract.request
.. automodule:: wpull.protocol.abstract
:members:
:show-inheritance:
:private-members:
Expand Down
12 changes: 12 additions & 0 deletions doc/api/protocol.abstract.stream.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
.. This document was automatically generated.
DO NOT EDIT!
:mod:`protocol.abstract.stream` Module
======================================

.. automodule:: wpull.protocol.abstract.stream
:members:
:show-inheritance:
:private-members:
:special-members:
:exclude-members: __dict__,__weakref__
12 changes: 12 additions & 0 deletions doc/api/protocol.ftp.client.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
.. This document was automatically generated.
DO NOT EDIT!
:mod:`protocol.ftp.client` Module
=================================

.. automodule:: wpull.protocol.ftp.client
:members:
:show-inheritance:
:private-members:
:special-members:
:exclude-members: __dict__,__weakref__
12 changes: 12 additions & 0 deletions doc/api/protocol.ftp.command.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
.. This document was automatically generated.
DO NOT EDIT!
:mod:`protocol.ftp.command` Module
==================================

.. automodule:: wpull.protocol.ftp.command
:members:
:show-inheritance:
:private-members:
:special-members:
:exclude-members: __dict__,__weakref__

0 comments on commit 4d6b668

Please sign in to comment.