Skip to content

Commit

Permalink
added license, small tweak to readme and completed setup.py
Browse files Browse the repository at this point in the history
  • Loading branch information
rmax committed Feb 3, 2012
1 parent 4934ffb commit 811752f
Show file tree
Hide file tree
Showing 3 changed files with 38 additions and 1 deletion.
27 changes: 27 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
Copyright (c) Rolando Espinoza La fuente.
All rights reserved.

Redistribution and use in source and binary forms, with or without modification,
are permitted provided that the following conditions are met:

1. Redistributions of source code must retain the above copyright notice,
this list of conditions and the following disclaimer.

2. Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.

3. Neither the name of Rolando Espinoza La fuente nor the names of its
contributors may be used to endorse or promote products derived from this
software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
3 changes: 2 additions & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,11 @@ This module provides a decorator to allow to write spider callbacks
which performs multiple requests without the need to write multiple
callbacks for each request.

The code still experimental and might not work in all cases.
The code still *experimental* and might not work in all cases.

Example::

@inline_requests
def parse_item(self, response):
item = self.build_item(response)

Expand Down
9 changes: 9 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,14 @@
author='Rolando Espinoza La fuente',
author_email='darkrho@gmail.com',
url='https://github.com/darkrho/scrapy-inline-requests',
license='BSD',
py_modules = ['inline_requests'],
install_requires=[
'Scrapy>=0.14',
],
classifiers=[
'Programming Language :: Python',
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
],
)

0 comments on commit 811752f

Please sign in to comment.