-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Release 0.2.5 - try restoring README.md as long description.
- Loading branch information
Showing
1 changed file
with
19 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,30 @@ | ||
import logging | ||
import os | ||
|
||
from setuptools import find_packages, setup | ||
|
||
logger = logging.getLogger(__name__) | ||
|
||
# Get the base directory | ||
here = os.path.dirname(__file__) | ||
if not here: | ||
here = os.path.curdir | ||
here = os.path.abspath(here) | ||
|
||
# Text describing the module (reStructured text) | ||
try: | ||
readme = os.path.join(here, 'README.md') | ||
long_description = open(readme, 'r').read() | ||
except IOError: | ||
logger.warning("README file not found or unreadable!") | ||
long_description = """See https://github.com/brunns/mbtest/""" | ||
|
||
setup( | ||
name="mbtest", | ||
zip_safe=False, | ||
version="0.2.4", | ||
version="0.2.5", | ||
description="Python wrapper & utils for the Mountebank over the wire test double tool.", | ||
long_description=open(os.path.join(os.path.dirname(__file__), "README.md")).read(), | ||
long_description=long_description, | ||
author="Simon Brunning", | ||
author_email="[email protected]", | ||
url="https://github.com/brunns/mbtest/", | ||
|