setup.py added

git-svn-id: https://pdfminerr.googlecode.com/svn/trunk/pdfminer@105 1aa58f4a-7d42-0410-adbc-911cccaed67c
pull/1/head
yusuke.shinyama.dummy 2009-05-16 06:57:26 +00:00
parent 759e21e606
commit 3f7f4fe5a5
3 changed files with 17 additions and 1 deletions

View File

@ -14,6 +14,9 @@ CONV_CMAP=$(PYTHON) -m tools.conv_cmap
all: all:
install:
$(PYTHON) setup.py install
clean: clean:
-rm -rf build -rm -rf build
-cd $(PACKAGE) && make clean -cd $(PACKAGE) && make clean

View File

@ -204,7 +204,8 @@ class PDFXRefStream(PDFBaseXRef):
## ##
## A PDFPage object is nothing more than a bunch of keys and values ## A PDFPage object is nothing more than a bunch of keys and values
## that describe the properties of the page and point to its contents, ## that describe the properties of the page and point to its contents,
## and has nothing to do with a real graphical entity. ## and has nothing to do with a real graphical entity. For a real graphical
## object, look at layout.LTPage.
## ##
class PDFPage(object): class PDFPage(object):

12
setup.py Normal file
View File

@ -0,0 +1,12 @@
#!/usr/bin/env python
from distutils.core import setup
setup(name='pdfminer',
version='20090330',
description='PDF parser and analyzer',
license='MIT/X',
author='Yusuke Shinyama',
url='http://www.unixuser.org/~euske/python/pdfminer/index.html',
packages=['pdfminer'],
scripts=['tools/pdf2txt.py', 'tools/dumppdf.py'],
)