-
Notifications
You must be signed in to change notification settings - Fork 52
/
setup.py
49 lines (44 loc) · 1.44 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
# -*- coding: utf-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
if platform.python_version() >= "3.0.0":
dependencies = ["pdfminer3k>=1.3.0"]
else:
dependencies = ["pdfminer>=20131113"]
packages = [
"pdfparanoia",
"pdfparanoia.plugins",
]
setup(
name="pdfparanoia",
version=pdfparanoia.__version__,
url="https://github.com/kanzure/pdfparanoia",
license="BSD",
author="Bryan Bishop",
author_email="[email protected]",
maintainer="Bryan Bishop",
maintainer_email="[email protected]",
description="pdf watermark remover library for academic papers",
long_description=long_description,
long_description_content_type="text/markdown",
install_requires=dependencies,
packages=packages,
scripts=["bin/pdfparanoia"],
platforms="any",
zip_safe=False,
classifiers=[
"License :: OSI Approved :: BSD License",
"Operating System :: OS Independent",
"Programming Language :: Python",
# Uses argparse and with statement; 2.7+
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.1",
"Programming Language :: Python :: 3.2",
"Programming Language :: Python :: 3.3",
]
)