[Distutils] Another newbie question regarding setup.py metadata

Peter Bengtsson peter at fry-it.com
Fri Nov 28 16:43:21 CET 2008


Sorry if this is a stupid question but what I have done wrong to not
get my description and metadata to appear after the upload on
http://pypi.python.org/pypi/slimmer/

The setup.py looks like this::

version = '0.1.27'

setup(name='slimmer',
      version=version,
      description="HTML,XHTML,CSS,JavaScript optimizer",
      long_description="""\
slimmer.py
---------------------

Can slim (X)HTML, CSS and Javascript files to become smaller""",
      keywords='slimmer optimizer optimiser whitespace',
      author='Peter Bengtsson',
      author_email='peter at fry-it.com',
      url='http://www.fry-it.com',
      license='Python',
      classifiers = [
        "Development Status :: 5 - Production/Stable",
        "Environment :: Other Environment",
        "Environment :: Web Environment",
        "Intended Audience :: Developers",
        "License :: OSI Approved :: Python Software Foundation License",
        "Operating System :: OS Independent",
        "Programming Language :: Python",
        "Topic :: Communications",
        "Topic :: Internet :: WWW/HTTP",
        "Topic :: Other/Nonlisted Topic",
        "Topic :: Software Development :: Libraries :: Python Modules",
      ],
      packages=find_packages(exclude=['ez_setup', 'examples', 'tests']),
      include_package_data=True,
      test_suite='slimmer.tests',
      zip_safe=True,
      install_requires=[
          # -*- Extra requirements: -*-
      ],
      entry_points="""
      # -*- Entry points: -*-
      """,
      )


I did upload my little slimmer package to pypi a long time ago but
with a much older distutils that didn't have the test command.
So I've now re-created the package with basic_package and ran setup.py
sdist bdist_egg upload.

-- 
Peter Bengtsson,
work www.fry-it.com
home www.peterbe.com
hobby www.issuetrackerproduct.com


More information about the Distutils-SIG mailing list