from distutils.core import setup def readme(): try: with open('README.md') as f: return f.read() except IOError: return '' setup( name='ThinkStats2', version='2.0.0', author='Allen B. Downey', author_email='downey@allendowney.com', packages=['thinkstats2', 'thinkplot'], url='http://github.com/AllenDowney/ThinkBayes2', license='LICENSE.txt', description='Supporting code for the book Think Stats 2e.', long_description=readme(), )