Differences between revisions 11 and 12
Revision 11 as of 2007-07-25 19:50:50
Size: 1500
Comment: cheeseshop.python.org -> pypi.python.org
Revision 12 as of 2008-11-15 13:59:50
Size: 1512
Editor: localhost
Comment: converted to 1.6 markup
Deletions are marked like this. Additions are marked like this.
Line 4: Line 4:
 * [http://docs.python.org/dist/dist.html Distributing Python Modules] - information for developers
 * [http://docs.python.org/inst/inst.html Installing Python Modules] - information for users and system administrators
 * [http://www.python.org/sigs/distutils-sig/ distutils SIG]
 * [http://www.mechanicalcat.net/tech/pypi/pypi-xmlrpc.html PyPI's XML-RPC interface] for querying the packages database
 * [[http://docs.python.org/dist/dist.html|Distributing Python Modules]] - information for developers
 * [[http://docs.python.org/inst/inst.html|Installing Python Modules]] - information for users and system administrators
 * [[http://www.python.org/sigs/distutils-sig/|distutils SIG]]
 * [[http://www.mechanicalcat.net/tech/pypi/pypi-xmlrpc.html|PyPI's XML-RPC interface]] for querying the packages database
Line 16: Line 16:
 * CheeseShopTutorial is a related tutorial that just covers submitting information to the [http://pypi.python.org/pypi Python Package Index]  * CheeseShopTutorial is a related tutorial that just covers submitting information to the [[http://pypi.python.org/pypi|Python Package Index]]
Line 21: Line 21:
'''A.''' Unfortunately, no. This would be a useful feature to have though... However, the KDE group has written a [http://www.simonzone.com/software/pykdeextensions/en/distutils-uninstall.html wrapper] for distutils that adds a simple uninstall command. '''A.''' Unfortunately, no. This would be a useful feature to have though... However, the KDE group has written a [[http://www.simonzone.com/software/pykdeextensions/en/distutils-uninstall.html|wrapper]] for distutils that adds a simple uninstall command.

"distutils" is by now the standard mechanism to distribute Python packages and extensions, and appeared in Python 1.6. It runs under 1.5.2 though, but you have to install it (once) to use it for that Python version.

Documentation:

Projects:

  • DistutilsProjects - please add a listing to this page if you're working on Distutils (and help us reduce duplication of effort)

  • DistUtilsExtensions is a repository of extensions for your "setup.py".

Tutorials:


Q. Can you use distutils (i.e., your setup.py file) to uninstall a given package?

A. Unfortunately, no. This would be a useful feature to have though... However, the KDE group has written a wrapper for distutils that adds a simple uninstall command.

Distutils (last edited 2015-11-21 15:09:39 by NickCoghlan)

Unable to edit the page? See the FrontPage for instructions.