1from distutils.core import setup 2 3try: 4 from distutils.command.build_py import build_py_2to3 as build_py 5except ImportError: 6 # 2.x 7 from distutils.command.build_py import build_py 8 9setup(name="beautifulsoup4", 10 version = "4.3.2", 11 author="Leonard Richardson", 12 author_email='leonardr@segfault.org', 13 url="http://www.crummy.com/software/BeautifulSoup/bs4/", 14 download_url = "http://www.crummy.com/software/BeautifulSoup/bs4/download/", 15 long_description="""Beautiful Soup sits atop an HTML or XML parser, providing Pythonic idioms for iterating, searching, and modifying the parse tree.""", 16 license="MIT", 17 packages=['bs4', 'bs4.builder', 'bs4.tests'], 18 cmdclass = {'build_py':build_py}, 19 classifiers=["Development Status :: 4 - Beta", 20 "Intended Audience :: Developers", 21 "License :: OSI Approved :: MIT License", 22 "Programming Language :: Python", 23 'Programming Language :: Python :: 3', 24 "Topic :: Text Processing :: Markup :: HTML", 25 "Topic :: Text Processing :: Markup :: XML", 26 "Topic :: Text Processing :: Markup :: SGML", 27 "Topic :: Software Development :: Libraries :: Python Modules", 28 ], 29) 30