diff options
Diffstat (limited to 'setup.py')
-rw-r--r-- | setup.py | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -3,14 +3,15 @@ from setuptools import ( find_packages, ) -from bs4 import __version__ - with open("README.md", "r") as fh: long_description = fh.read() setup( name="beautifulsoup4", - version = __version__, + # NOTE: We can't import __version__ from bs4 because bs4/__init__.py is Python 2 code, + # and converting it to Python 3 means going through this code to run 2to3. + # So we have to specify it twice for the time being. + version = '4.8.1', author="Leonard Richardson", author_email='leonardr@segfault.org', url="http://www.crummy.com/software/BeautifulSoup/bs4/", |