[Distutils] Another newbie question regarding setup.py metadata
Peter Bengtsson
peter at fry-it.com
Sat Nov 29 20:42:26 CET 2008
2008/11/29 Tres Seaver <tseaver at palladion.com>:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Peter Bengtsson wrote:
>> 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.
>
> Try: adding 'register' to the list of commands.
>
That did it!!
Thanks
>
> Tres.
> - --
> ===================================================================
> Tres Seaver +1 540-429-0999 tseaver at palladion.com
> Palladion Software "Excellence by Design" http://palladion.com
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.6 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>
> iD8DBQFJMWW9+gerLs4ltQ4RAqbEAKDG6uTNRdGjS4TCbHw9wvN2RevYQgCgzqtq
> YB9wlWe2je8T/4gGcLz5RMw=
> =xdrx
> -----END PGP SIGNATURE-----
>
> _______________________________________________
> Distutils-SIG maillist - Distutils-SIG at python.org
> http://mail.python.org/mailman/listinfo/distutils-sig
>
--
Peter Bengtsson,
work www.fry-it.com
home www.peterbe.com
hobby www.issuetrackerproduct.com
More information about the Distutils-SIG
mailing list