From 514e17d21ba8d769044afcc006525605c297f62e Mon Sep 17 00:00:00 2001 From: Jarrod Chesney Date: Wed, 28 Dec 2016 15:09:58 +1000 Subject: [PATCH] fixed up setup.py for py3 --- setup.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/setup.py b/setup.py index 4d2d7b8..3c1e086 100644 --- a/setup.py +++ b/setup.py @@ -16,7 +16,7 @@ url = "https://github.com/Synerty/wstools-py3" # Get the version - do not use normal import because it does break coverage base_path = os.path.dirname(__file__) -fp = open(os.path.join(base_path, NAME, 'version.py')) +fp = open(os.path.join(base_path, 'wstools', 'version.py')) __version__ = re.compile(r".*__version__\s*=\s*['\"](.*?)['\"]", re.S).match(fp.read()).group(1) fp.close() @@ -148,14 +148,13 @@ setup( maintainer_email="contact@synerty.com", author='Makina Corpus', author_email='python@makina-corpus.com', - provides=[NAME], + provides=['wstools'], url=url, bugtrack_url='%s/issues' % url, home_page=url, keywords='api wstools wdsl web', classifiers=[ 'Programming Language :: Python', - 'Programming Language :: Python :: 2.7', 'Programming Language :: Python :: 3', 'Development Status :: 5 - Production/Stable', 'Environment :: Other Environment',