From f084b9ca6d498fe05760176cf4b5c8fce6c3c892 Mon Sep 17 00:00:00 2001 From: pmaupin Date: Tue, 18 Sep 2012 04:10:41 +0000 Subject: [PATCH] Updated version to 0.1 --- pdfrw/__init__.py | 4 +++- setup.py | 38 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 41 insertions(+), 1 deletion(-) create mode 100644 setup.py diff --git a/pdfrw/__init__.py b/pdfrw/__init__.py index 33f53b4..3ca61d7 100644 --- a/pdfrw/__init__.py +++ b/pdfrw/__init__.py @@ -1,7 +1,9 @@ # A part of pdfrw (pdfrw.googlecode.com) -# Copyright (C) 2006-2009 Patrick Maupin, Austin, Texas +# Copyright (C) 2006-2012 Patrick Maupin, Austin, Texas # MIT license -- See LICENSE.txt for details +__version__ = '0.1' + from pdfrw.pdfwriter import PdfWriter from pdfrw.pdfreader import PdfReader from pdfrw.objects import PdfObject, PdfName, PdfArray, PdfDict, IndirectPdfDict, PdfString diff --git a/setup.py b/setup.py new file mode 100644 index 0000000..c036273 --- /dev/null +++ b/setup.py @@ -0,0 +1,38 @@ +#!/usr/bin/env python + +from distutils.core import setup + +setup( + name='pdfrw', + version='0.1', + description='PDF file reader/writer library', + long_description=''' +pdfrw lets you read and write PDF files, including +compositing multiple pages together (e.g. to do watermarking, +or to copy an image or diagram from one PDF to another), +and can output by itself, or in conjunction with reportlab. + +pdfrw will faithfully reproduce vector formats without +rasterization, so the rst2pdf package has used pdfrw +by default for PDF and SVG images by default since +March 2010. Several small examples are provided. +''', + author='Patrick Maupin', + author_email='pmaupin@gmail.com', + platforms="Independent", + url='http://code.google.com/p/pdfrw/', + packages=['pdfrw', 'pdfrw.objects'], + license="MIT", + classifiers=[ + 'Development Status :: 4 - Beta', + 'Environment :: Console', + 'Intended Audience :: Developers', + 'License :: OSI Approved :: MIT License', + 'Operating System :: OS Independent', + 'Programming Language :: Python', + 'Topic :: Multimedia :: Graphics :: Graphics Conversion', + 'Topic :: Software Development :: Libraries' + 'Topic :: Utilities' + ], + keywords='pdf vector graphics', +)