Skip to content

Commit

Permalink
Added some documentation.
Browse files Browse the repository at this point in the history
  • Loading branch information
todofixthis committed Dec 26, 2017
1 parent c9990d8 commit f4356bc
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,16 @@
from setuptools import find_packages, setup


##
# Because of the way PyOTA declares its dependencies, it requires a
# more recent version of setuptools.
# https://www.python.org/dev/peps/pep-0508/#environment-markers
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 f4356bc

Please sign in to comment.