From 5e07ed3b1d6cd3e8e615a1f9cc707bcbe043f5a0 Mon Sep 17 00:00:00 2001 From: Leonard Richardson Date: Mon, 6 Feb 2012 11:19:56 -0500 Subject: You can't replace a tag with its parent, or insert a tag into itself. replace operations return the thing that was replaced. --- setup.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'setup.py') diff --git a/setup.py b/setup.py index 0d907a4..9acb046 100644 --- a/setup.py +++ b/setup.py @@ -1,7 +1,5 @@ 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: @@ -9,14 +7,13 @@ except ImportError: from distutils.command.build_py import build_py setup(name="beautifulsoup4", - version=__version__, + version = "4.0.0b4", 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=["Development Status :: 4 - Beta", -- cgit v1.2.3