#7 pypi support

None
closed
Adrian
None
5
2014-03-29
2009-09-25
Emin Martinian
No

I really like Pmw. Have you considered putting Pmw on PYPI so that it works with easy install?

Since you have a setup.py, all you need to do is the following:

python setup.py register
python setup.py sdist upload

and then the rest of us can automatically download Pmw from PYPI via "easy_install Pmw" and reference it as a dependency in our own python projects.

I'd be happy to help with the this if the above doesn't work.

Thanks,
-Emin

Discussion

  • Emin Martinian
    Emin Martinian
    2009-09-28

    Updated setup.py to allow generating python egg and registering with PYPI

     
    Attachments
  • Emin Martinian
    Emin Martinian
    2009-09-28

    I know you are probably very busy but I really wanted to be able to include Pmw as a dependency for my project and have things work properly with easy_install. To facilitate this, I made a python egg of Pmw and posted it at http://superpy.googlecode.com/files/Pmw-1.3.2-py2.5.egg.

    This lets me add the following line inside my call to setup in setup.py and have things work properly with a dependency on Pmw:

    install_requires = ['Pmw'],
    dependency_links = [
    "http://superpy.googlecode.com/files/Pmw-1.3.2-py2.5.egg"
    ],

    To be able to build an egg, I needed to tweak your setup.py so I attached my tweaked version. The change was just to have it use setuptools which you can install via http://peak.telecommunity.com/dist/ez_setup.py.

    If/when you decide to host the egg on your site or if you are uncomfortable having the egg on a different site, just let me know and I will take it down.

    Thanks again for Pmw.

     
  • Adrian
    Adrian
    2013-02-12

    • assigned_to: nobody --> adyh
    • status: open --> pending
     
  • Adrian
    Adrian
    2014-03-29

    • status: pending --> closed
    • Group: -->
     
  • Adrian
    Adrian
    2014-03-29

    PyPi package created from the ReportLab version. Added to PyPi.