ralsina / pdfrw

Automatically exported from code.google.com/p/pdfrw
Other
0 stars 0 forks source link

add to pypi #7

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
it would be good if pdfrw could be installed with easy_install or pip

the following simple setup.py works for me:

#!/usr/bin/env python

from setuptools import setup

setup(
    name = "pdfrw",
    version = "0.1",

    packages = ["pdfrw"]
)

Original issue reported on code.google.com by liucou...@gmail.com on 17 Sep 2012 at 11:38

GoogleCodeExporter commented 9 years ago
oops, just saw the message about pypi on frontpage. i am no expert on pypi, but 
i did publish something there, so you have specific questions, I may be of help

Original comment by liucou...@gmail.com on 17 Sep 2012 at 11:42

GoogleCodeExporter commented 9 years ago
I suppose I just need to bite the bullet and learn about distributions.

My primary question would be what are the main attributes I should fill out in 
setup.py.  I understand you can have author, license, etc.  I was wondering if 
there was a good template somewhere.

Thanks,
Pat

Original comment by pmaupin on 18 Sep 2012 at 2:54

GoogleCodeExporter commented 9 years ago
i forgot where I grabbed the following setup.py template, but I think it's 
pretty complete:

https://github.com/liucougar/nose-subunit/blob/master/setup.py

(any project on pypi would have setup.py)

Original comment by liucou...@gmail.com on 18 Sep 2012 at 3:10

GoogleCodeExporter commented 9 years ago
OK, I'm getting there.  Now I just need to figure out the easy_install thingie, 
I guess.  See what you think.

Thanks,
Pat

Original comment by pmaupin on 18 Sep 2012 at 4:22

GoogleCodeExporter commented 9 years ago
I think I'm done.  Version uploaded to pypi

Original comment by pmaupin on 18 Sep 2012 at 5:01