mirror of
https://github.com/kanzure/pdfparanoia.git
synced 2024-12-04 23:15:52 +01:00
fixed self-referential package install and cleaned out __init__.py
This commit is contained in:
parent
388d2b289e
commit
2275565fb2
@ -1,29 +1,2 @@
|
|||||||
# -*- 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
|
|
||||||
|
|
||||||
|
10
setup.py
10
setup.py
@ -2,18 +2,11 @@
|
|||||||
from setuptools import setup
|
from setuptools import setup
|
||||||
import os
|
import os
|
||||||
|
|
||||||
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()
|
||||||
|
|
||||||
packages = [
|
|
||||||
"pdfparanoia",
|
|
||||||
"pdfparanoia.plugins",
|
|
||||||
]
|
|
||||||
|
|
||||||
setup(
|
setup(
|
||||||
name="pdfparanoia",
|
name="pdfparanoia",
|
||||||
version=pdfparanoia.__version__,
|
version="0.0.13",
|
||||||
url="https://github.com/kanzure/pdfparanoia",
|
url="https://github.com/kanzure/pdfparanoia",
|
||||||
license="BSD",
|
license="BSD",
|
||||||
author="Bryan Bishop",
|
author="Bryan Bishop",
|
||||||
@ -22,7 +15,6 @@ setup(
|
|||||||
maintainer_email="kanzure@gmail.com",
|
maintainer_email="kanzure@gmail.com",
|
||||||
description="pdf watermark remover library for academic papers",
|
description="pdf watermark remover library for academic papers",
|
||||||
long_description=long_description,
|
long_description=long_description,
|
||||||
packages=packages,
|
|
||||||
install_requires=["pdfminer>=0"],
|
install_requires=["pdfminer>=0"],
|
||||||
scripts=["bin/pdfparanoia"],
|
scripts=["bin/pdfparanoia"],
|
||||||
platforms="any",
|
platforms="any",
|
||||||
|
Loading…
Reference in New Issue
Block a user