Skip to content

Commit 493dcf6

Browse files
committed
Update pypi long_description
1 parent ca8b259 commit 493dcf6

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

setup.py

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,22 @@
44
"""
55

66
from setuptools import setup, find_packages # noqa
7+
from os import path
8+
9+
10+
this_directory = path.abspath(path.dirname(__file__))
11+
long_description = None
12+
try:
13+
with open(path.join(this_directory, 'README.md'), 'rb') as f:
14+
long_description = f.read().decode('utf-8')
15+
except IOError:
16+
long_description = 'Web Automation, Testing, and User-Onboarding Framework'
717

818
setup(
919
name='seleniumbase',
1020
version='1.15.0',
1121
description='All-In-One Test Automation Framework',
12-
long_description='Web Automation, Testing, and User-Onboarding Framework',
22+
long_description=long_description,
1323
url='https://github.com/seleniumbase/SeleniumBase',
1424
platforms=["Windows", "Linux", "Unix", "Mac OS-X"],
1525
author='Michael Mintz',

0 commit comments

Comments
 (0)