Skip to content
This repository has been archived by the owner on Jan 13, 2023. It is now read-only.

Commit

Permalink
Merge pull request #82 from HerrMuellerluedenscheid/fix_setup
Browse files Browse the repository at this point in the history
setup: Check for setuptools version and inform user
  • Loading branch information
todofixthis committed Oct 24, 2017
2 parents c7b3242 + eaf4296 commit 0868b15
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,14 @@

from codecs import StreamReader, open

import setuptools
from setuptools import find_packages, setup

from distutils.version import LooseVersion
if LooseVersion(setuptools.__version__) < LooseVersion('20.5'):
import sys
sys.exit('Installation failed: Upgrade setuptools to version 20.5 or later')

##
# Load long description for PyPi.
with open('README.rst', 'r', 'utf-8') as f: # type: StreamReader
Expand Down

0 comments on commit 0868b15

Please sign in to comment.