title: Cython basic build still failing
body: <p>I am using python 2.7.6 and am on Windows 7 x64 Here is the entry point display for my python:</p>
  
  <pre><code>&gt;python
  Python 2.7.6 [MSC v.1800 32 bit (Intel)] on win32
  </code></pre>
  
  <p>So I am using all 32bit binaries. I am trying to compile the fibonacci demo/tutorial from the 2013 Sci Py talk on using Cython showing <a href="https://www.youtube.com/watch?v=JKCjsRDffXo" rel="nofollow noreferrer" title="here">here</a>. You can download the tutorial files <a href="http://public.enthought.com/~ksmith/scipy2013_cython/" rel="nofollow noreferrer">here</a> ( unpack the tutorial files  and go into <code>~/demo/fib/</code> ).</p>
  
  <p>I have installed Cython using <code>pip install cython</code> which is a success. I tried to compile the python <code>.pyx</code> using </p>
  
  <pre><code>&gt;python setup.py build_ext --inplace --compilers=mingw32
  
  running build_ext
  Traceback (most recent call last):
    File "setup.py", line 17, in &lt;module&gt;
      ext_modules = exts,
    File "~\Python\Lib\distutils\core.py", line 151, in setup
      dist.run_commands()
    File "~\Python\Lib\distutils\dist.py", line 953, in run_commands
      self.run_command(cmd)
    File "~\Python\Lib\distutils\dist.py", line 972, in run_command
      cmd_obj.run()
    File "~\Python\lib\site-packages\Cython\Distutils\build_ext.py", line 163,
  in run
      _build_ext.build_ext.run(self)
    File "~\Python\Lib\distutils\command\build_ext.py", line 306, in run
      force=self.force)
    File "~\Python\Lib\distutils\ccompiler.py", line 1004, in new_compiler
      return klass(None, dry_run, force)
    File "~\Python\Lib\distutils\cygwinccompiler.py", line 309, in __init__
      CygwinCCompiler.__init__ (self, verbose, dry_run, force)
    File "~\Python\Lib\distutils\cygwinccompiler.py", line 152, in __init__
      self.dll_libraries = get_msvcr()
    File "~\Python\Lib\distutils\cygwinccompiler.py", line 82, in get_msvcr
      raise ValueError("Unknown MS Compiler version %s " % msc_ver)
  ValueError: Unknown MS Compiler version 1800
  </code></pre>
  
  <p>I checked and modified <code>cygwinccompiler.py</code> and saw and made the following changes:</p>
  
  <pre><code>def get_msvcr():
      """Include the appropriate MSVC runtime library if Python was built
      with MSVC 7.0 or later.
      """
      msc_pos = sys.version.find('MSC v.')
      if msc_pos != -1:
          msc_ver = sys.version[msc_pos+6:msc_pos+10]
          if msc_ver == '1300':
              # MSVC 7.0
              return ['msvcr70']
          elif msc_ver == '1310':
              # MSVC 7.1
              return ['msvcr71']
          elif msc_ver == '1400':
              # VS2005 / MSVC 8.0
              return ['msvcr80']
          elif msc_ver == '1500':
              # VS2008 / MSVC 9.0
              return ['msvcr90']
          elif msc_ver == '1800':     # I added this!!!
              # VS2013 / MSVC 12.0    # I added this!!!
              return ['msvcr120']     # I added this!!!
          else:
              raise ValueError("Unknown MS Compiler version %s " % msc_ver)
  </code></pre>
  
  <p>since apparently <code>msc_ver == '1800'</code> (the version of msvc my python was compiled with) is the 2013 visual studio c compiler, and reffered to as <code>msvcr120</code> from some quick google searches. So I installed that:</p>
  
  <p><img src="https://i.stack.imgur.com/kEhtC.png" alt="enter image description here"></p>
  
  <p>Now, however, I get the following cython DLL error.</p>
  
  <pre><code>&gt;python setup.py build_ext --compiler=mingw32
  running build_ext
  failed to import Cython: DLL load failed: A dynamic link library (DLL) initialization routine failed.
  error: Cython does not appear to be installed
  </code></pre>
  
  <p>Where is it looking for the DLL's? What DLL's does it need? Why isn't it finding any the DLL's after installing the 5+ versions of MSVC redistributable packages ( I've struggled with getting python to find msvc compilers in general since day one of using python a good while ago now. true dependency hell. anyway...)</p>
  
  <p>My <code>PYTHONHOME</code> environment variable is set, but I don't have <code>PYTHONPATH</code> set to anything. </p>
  
  <p>Does anyone have an idea of how to fix this?</p>
  
  <p>what do?</p>
  
  <p>Thank you so much.</p>