old_contents: from __future__ import with_statement
  
  from setuptools import setup, find_packages
  
  
  def version():
      with open('VERSION') as f:
          return f.read().strip()
  
  
  def readme():
      with open('README.md') as f:
          return f.read().encode('ascii', errors='ignore').decode()
  
  
  reqs = [line.strip() for line in open('requirements.txt') if not line.startswith('#')]
  
  
  setup(
      name                = "pocean-core",
      version             = version(),
      description         = "A python framework for working with met-ocean data",
      long_description    = readme(),
      license             = 'MIT',
      author              = "Kyle Wilcox",
      author_email        = "kyle@axiomdatascience.com",
      url                 = "https://github.com/axiom-data-science/pocean",
      packages            = find_packages(),
      install_requires    = reqs,
      classifiers         = [
          'Development Status :: 3 - Alpha',
          'Intended Audience :: Developers',
          'Intended Audience :: Science/Research',
          'License :: OSI Approved :: MIT License',
          'Operating System :: POSIX :: Linux',
          'Programming Language :: Python',
          'Topic :: Scientific/Engineering',
      ],
      include_package_data = True,
  )
  
new_contents: from __future__ import with_statement
  
  from setuptools import setup, find_packages
  
  
  def version():
      with open('VERSION') as f:
          return f.read().strip()
  
  
  def readme():
      with open('README.md', 'rb') as f:
          return f.read().decode('utf-8', errors='ignore')
  
  
  reqs = [line.strip() for line in open('requirements.txt') if not line.startswith('#')]
  
  
  setup(
      name                = "pocean-core",
      version             = version(),
      description         = "A python framework for working with met-ocean data",
      long_description    = readme(),
      license             = 'MIT',
      author              = "Kyle Wilcox",
      author_email        = "kyle@axiomdatascience.com",
      url                 = "https://github.com/axiom-data-science/pocean",
      packages            = find_packages(),
      install_requires    = reqs,
      classifiers         = [
          'Development Status :: 3 - Alpha',
          'Intended Audience :: Developers',
          'Intended Audience :: Science/Research',
          'License :: OSI Approved :: MIT License',
          'Operating System :: POSIX :: Linux',
          'Programming Language :: Python',
          'Topic :: Scientific/Engineering',
      ],
      include_package_data = True,
  )
  
subject: Fix for Windows builds (for real this time)