1
0
mirror of https://github.com/kanzure/pdfparanoia.git synced 2024-12-04 23:15:52 +01:00

Revert "fixed self-referential package install and cleaned out __init__.py"

This reverts commit 2275565fb2.

__init__.py is needed for ./bin/pdfparanoia to work.

Conflicts:
	setup.py
This commit is contained in:
Bryan Bishop 2013-07-19 20:19:44 -05:00
parent f3e4b74b69
commit c3e590f22f
2 changed files with 39 additions and 0 deletions

View File

@ -1,2 +1,29 @@
# -*- coding: utf-8 -*- # -*- 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

View File

@ -3,6 +3,8 @@ from setuptools import setup
import os import os
import platform import platform
import pdfparanoia
long_description = open(os.path.join(os.path.dirname(__file__), "README.md")).read() long_description = open(os.path.join(os.path.dirname(__file__), "README.md")).read()
# pdfminer isn't cross-version compatible but a py3k port is in PyPI # pdfminer isn't cross-version compatible but a py3k port is in PyPI
@ -14,6 +16,15 @@ else:
setup( setup(
name="pdfparanoia", name="pdfparanoia",
version="0.0.14", version="0.0.14",
packages = [
"pdfparanoia",
"pdfparanoia.plugins",
]
setup(
name="pdfparanoia",
version=pdfparanoia.__version__,
url="https://github.com/kanzure/pdfparanoia", url="https://github.com/kanzure/pdfparanoia",
license="BSD", license="BSD",
author="Bryan Bishop", author="Bryan Bishop",
@ -23,6 +34,7 @@ setup(
description="pdf watermark remover library for academic papers", description="pdf watermark remover library for academic papers",
long_description=long_description, long_description=long_description,
install_requires=dependencies, install_requires=dependencies,
packages=packages,
scripts=["bin/pdfparanoia"], scripts=["bin/pdfparanoia"],
platforms="any", platforms="any",
zip_safe=False, zip_safe=False,