more setup.py madness

This commit is contained in:
Bryan Bishop 2013-02-05 04:28:42 -06:00
parent 302d2ff2e5
commit aa3e188ef4
3 changed files with 9 additions and 6 deletions

View File

@ -10,8 +10,8 @@ clean:
find . -type f -name "*.pyc" -exec rm '{}' \;
install:
python setup.py install
python2.7 setup.py install
upload:
python setup.py sdist upload
python2.7 setup.py sdist upload

View File

@ -17,8 +17,8 @@ usage:
"""
__title__ = "pdfparanoia"
__version__ = "0.0.5"
__build__ = 0x000005
__version__ = "0.0.6"
__build__ = 0x000006
__author__ = "Bryan Bishop <kanzure@gmail.com>"
__license__ = "BSD"
__copyright__ = "Copyright 2013 Bryan Bishop"

View File

@ -2,6 +2,8 @@
from setuptools import setup
import os
import pdfparanoia
long_description = open(os.path.join(os.path.dirname(__file__), "README.md")).read()
packages = [
@ -11,7 +13,7 @@ packages = [
setup(
name="pdfparanoia",
version="0.0.5",
version=pdfparanoia.__version__,
url="https://github.com/kanzure/pdfparanoia",
license="BSD",
author="Bryan Bishop",
@ -20,9 +22,10 @@ setup(
maintainer_email="kanzure@gmail.com",
description="pdf watermark remover library for academic papers",
long_description=long_description,
packages=["pdfparanoia"],
packages=packages,
install_requires=["pdfminer>=0", "pdfquery>=0"],
platforms="any",
zip_safe=False,
classifiers=[
"License :: OSI Approved :: BSD License",
"Operating System :: OS Independent",