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:
parent
f3e4b74b69
commit
c3e590f22f
@ -1,2 +1,29 @@
|
||||
# -*- 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
|
||||
|
||||
|
12
setup.py
12
setup.py
@ -3,6 +3,8 @@ from setuptools import setup
|
||||
import os
|
||||
import platform
|
||||
|
||||
import pdfparanoia
|
||||
|
||||
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
|
||||
@ -14,6 +16,15 @@ else:
|
||||
setup(
|
||||
name="pdfparanoia",
|
||||
version="0.0.14",
|
||||
|
||||
packages = [
|
||||
"pdfparanoia",
|
||||
"pdfparanoia.plugins",
|
||||
]
|
||||
|
||||
setup(
|
||||
name="pdfparanoia",
|
||||
version=pdfparanoia.__version__,
|
||||
url="https://github.com/kanzure/pdfparanoia",
|
||||
license="BSD",
|
||||
author="Bryan Bishop",
|
||||
@ -23,6 +34,7 @@ setup(
|
||||
description="pdf watermark remover library for academic papers",
|
||||
long_description=long_description,
|
||||
install_requires=dependencies,
|
||||
packages=packages,
|
||||
scripts=["bin/pdfparanoia"],
|
||||
platforms="any",
|
||||
zip_safe=False,
|
||||
|
Loading…
Reference in New Issue
Block a user