mirror of
https://github.com/kanzure/pdfparanoia.git
synced 2024-12-04 23:15:52 +01:00
Merge pull request #31 from delinquentme/master
Make pdfparanoia install on systems without pdfminer.
This commit is contained in:
commit
13d388e7ee
@ -1,29 +1,2 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
"""
|
||||
pdfparanoia - pdf watermark remover library for academic papers
|
||||
~~~~~~~~~~~~~~~
|
||||
|
||||
pdfparanoia is a pdf watermark remover library for academic papers. Basic
|
||||
usage:
|
||||
|
||||
>>> import pdfparanoia
|
||||
>>> pdf = pdfparanoia.scrub(open("nmat.pdf", "r"))
|
||||
>>> file_handler = open("output.pdf", "w")
|
||||
>>> file_handler.write(pdf)
|
||||
>>> file_handler.close()
|
||||
|
||||
:copyright: (c) 2013 by Bryan Bishop.
|
||||
:license: BSD.
|
||||
"""
|
||||
|
||||
__title__ = "pdfparanoia"
|
||||
__version__ = "0.0.13"
|
||||
__build__ = 0x000013
|
||||
__author__ = "Bryan Bishop <kanzure@gmail.com>"
|
||||
__license__ = "BSD"
|
||||
__copyright__ = "Copyright 2013 Bryan Bishop"
|
||||
|
||||
from . import utils
|
||||
from .core import scrub
|
||||
from .parser import deflate
|
||||
|
||||
|
10
setup.py
10
setup.py
@ -2,18 +2,11 @@
|
||||
from setuptools import setup
|
||||
import os
|
||||
|
||||
import pdfparanoia
|
||||
|
||||
long_description = open(os.path.join(os.path.dirname(__file__), "README.md")).read()
|
||||
|
||||
packages = [
|
||||
"pdfparanoia",
|
||||
"pdfparanoia.plugins",
|
||||
]
|
||||
|
||||
setup(
|
||||
name="pdfparanoia",
|
||||
version=pdfparanoia.__version__,
|
||||
version="0.0.13",
|
||||
url="https://github.com/kanzure/pdfparanoia",
|
||||
license="BSD",
|
||||
author="Bryan Bishop",
|
||||
@ -22,7 +15,6 @@ setup(
|
||||
maintainer_email="kanzure@gmail.com",
|
||||
description="pdf watermark remover library for academic papers",
|
||||
long_description=long_description,
|
||||
packages=packages,
|
||||
install_requires=["pdfminer>=0"],
|
||||
scripts=["bin/pdfparanoia"],
|
||||
platforms="any",
|
||||
|
Loading…
Reference in New Issue
Block a user