Skip to content

Commit

Permalink
Fix setup.py and add test info to readme
Browse files Browse the repository at this point in the history
  • Loading branch information
pmaupin committed Jun 21, 2015
1 parent d8bae5f commit efebd86
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 3 deletions.
18 changes: 17 additions & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -641,6 +641,22 @@ Python 2 and Python 3.

__ https://github.com/pmaupin/pdfrw/tree/master/pdfrw/py23_diffs.py

Testing
===============

The tests associated with pdfrw require a large number of PDFs,
which are not distributed with the library.

To run the tests:

* Download or clone the full package from github.com/pmaupin/pdfrw
* cd into the tests directory, and then clone the package
github.com/pmaupin/static_pdfs into a subdirectory (also named
static_pdfs).
* Now the tests may be run from that directory using unittest, or
py.test, or nose.
* travisci is used at github, and runs the tests with py.test

Other libraries
=====================

Expand Down Expand Up @@ -713,7 +729,7 @@ Release information

Revisions:

0.2 -- In development. Will support Python 2.6, 2.7, 3.3, and 3.4.
0.2 -- Released 21 June, 2015. Supports Python 2.6, 2.7, 3.3, and 3.4.

- Several bugs have been fixed
- New regression test functionally tests core with dozens of
Expand Down
6 changes: 4 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
#!/usr/bin/env python

from setuptools import setup
from pdfrw import __version__ as version
from pdfrw.py23_diffs import convert_load

setup(
name='pdfrw',
version='0.2',
version=version,
description='PDF file reader/writer library',
long_description=open("README.rst", 'rb').read(),
long_description=convert_load(open("README.rst", 'rb').read()),
author='Patrick Maupin',
author_email='[email protected]',
platforms='Independent',
Expand Down

0 comments on commit efebd86

Please sign in to comment.