diff options
author | Leonard Richardson <leonard.richardson@canonical.com> | 2012-02-02 11:24:31 -0500 |
---|---|---|
committer | Leonard Richardson <leonard.richardson@canonical.com> | 2012-02-02 11:24:31 -0500 |
commit | 01bfd05da7d93e130a3bbcaa9e371ef6212d0cb3 (patch) | |
tree | 8441edd67d5bb3a7099fe0a32696e1b81ea10d6f /setup.py | |
parent | bc8556352f5c31fc5e4b4af937c27f44fe579609 (diff) | |
download | beautifulsoup4-01bfd05da7d93e130a3bbcaa9e371ef6212d0cb3.tar.gz |
Improved the setup.py.
Diffstat (limited to 'setup.py')
-rw-r--r-- | setup.py | 23 |
1 files changed, 18 insertions, 5 deletions
@@ -1,5 +1,7 @@ from distutils.core import setup +from bs4.version import __version__ + try: from distutils.command.build_py import build_py_2to3 as build_py except ImportError: @@ -7,13 +9,24 @@ except ImportError: from distutils.command.build_py import build_py setup(name="beautifulsoup4", - version="4.0b3", + version=__version__, author="Leonard Richardson", + author_email='leonardr@segfault.org', url="http://www.crummy.com/software/BeautifulSoup/bs4/", + download_url = "http://www.crummy.com/software/BeautifulSoup/download/4.x/", + long_description="""Beautiful Soup sits atop an HTML or XML parser, providing Pythonic idioms for iterating, searching, and modifying the parse tree.""", + license="MIT", + py_modules=['bs4'], packages=['bs4', 'bs4.builder', 'bs4.tests'], cmdclass = {'build_py':build_py}, - classifiers=[ - 'Programming Language :: Python', - 'Programming Language :: Python :: 3', - ], + classifiers=["Development Status :: 4 - Beta", + "Intended Audience :: Developers", + "License :: OSI Approved :: MIT License", + "Programming Language :: Python", + 'Programming Language :: Python :: 3', + "Topic :: Text Processing :: Markup :: HTML", + "Topic :: Text Processing :: Markup :: XML", + "Topic :: Text Processing :: Markup :: SGML", + "Topic :: Software Development :: Libraries :: Python Modules", + ], ) |