From cce5fc139a2f0bf285a481e9774c164bf6087777 Mon Sep 17 00:00:00 2001 From: Mark Pilgrim Date: Thu, 30 Jul 2009 18:28:19 -0400 Subject: [PATCH] finished #check section --- packaging.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packaging.html b/packaging.html index d637de9..637aae7 100644 --- a/packaging.html +++ b/packaging.html @@ -300,14 +300,14 @@ Topic :: Software Development :: Libraries :: Python Modules

Checking Your Setup Script for Errors

-

FIXME +

There’s a lot to keep track of. Distutils comes with a built-in validation command that checks that all the required metadata is present in your setup script. For example, if you forget to include the version parameter, Distutils will can remind you.

 c:\Users\pilgrim\chardet> c:\python31\python.exe setup.py check
 running check
 warning: check: missing required meta-data: version
-

FIXME +

Once you include a version parameter (and all the other required bits of metadata), the check command will look like this:

 c:\Users\pilgrim\chardet> c:\python31\python.exe setup.py check