title: Building Conda package from scratch (tutorial) fails on tests / package layout
body: <p>I'm following <a href="https://conda.io/docs/user-guide/tutorials/build-pkgs.html" rel="nofollow noreferrer">https://conda.io/docs/user-guide/tutorials/build-pkgs.html</a> to build my first (private) Python package. I do not have it hosted on PyPi, nor I would like to. I figured out that the problem I'm running into is the same as with the demo at the linked tutorial. I.e., I follow the steps, create the <code>meta.yaml</code> and <code>build.bat</code> (skipping the <code>.sh</code> as Im Windows only), move into the directory with Anaconda prompt, and run <code>conda-build .</code>. The error message is the following:</p>
  
  <pre><code>(base) C:\Users\jvanzundert\conda-bld\pyinstrument_1535453523573\test_tmp&gt;call "C:\ProgramData\Anaconda3\Scripts\activate.bat" "C:\Users\jvanzundert\conda-bld\pyinstrument_1535453523573\_test_env"
  
  (C:\Users\jvanzundert\conda-bld\pyinstrument_1535453523573\_test_env) C:\Users\jvanzundert\conda-bld\pyinstrument_1535453523573\test_tmp&gt;IF 0 NEQ 0 exit 1
  
  (C:\Users\jvanzundert\conda-bld\pyinstrument_1535453523573\_test_env) C:\Users\jvanzundert\conda-bld\pyinstrument_1535453523573\test_tmp&gt;"C:\Users\jvanzundert\conda-bld\pyinstrument_1535453523573\_test_env\python.exe" -s "C:\Users\jvanzundert\conda-bld\pyinstrument_1535453523573\test_tmp\run_test.py"
  import: 'pyinstrument'
  Traceback (most recent call last):
    File "C:\Users\jvanzundert\conda-bld\pyinstrument_1535453523573\test_tmp\run_test.py", line 2, in &lt;module&gt;
      import pyinstrument
  ModuleNotFoundError: No module named 'pyinstrument'
  
  (C:\Users\jvanzundert\conda-bld\pyinstrument_1535453523573\_test_env) C:\Users\jvanzundert\conda-bld\pyinstrument_1535453523573\test_tmp&gt;IF 1 NEQ 0 exit 1
  Tests failed for pyinstrument-0.13.1-py36_0.tar.bz2 - moving package to C:\Users\jvanzundert\conda-bld\broken
  WARNING:conda_build.build:Tests failed for pyinstrument-0.13.1-py36_0.tar.bz2 - moving package to C:\Users\jvanzundert\conda-bld\broken
  removing: pyinstrument-0.13.1-py36_0.tar.bz2
  TESTS FAILED: pyinstrument-0.13.1-py36_0.tar.bz2
  </code></pre>
  
  <p>Is this a problem with my setup, or the tutorial?</p>
  
  <p>For my own package, I think my layout should be such (note that I'm relatively new to Python)</p>
  
  <pre><code>- &lt;package name&gt;
      + &lt;package name&gt;
          + __init__.py (empty)
          + &lt;package name&gt;.py
      + meta.yaml
      + setup.py (only an empty print statement)
      + bld.bat
  </code></pre>
  
  <p>The contents of the meta.yaml file:</p>
  
  <pre><code>package:
    name: &lt;package name&gt;
    version: "0.0.1"
  
  requirements:
    host:
      - python
  
    run:
      - python
  
  test:
    imports:
      - &lt;package name&gt;
  
  source:
    path: $RECIPE_DIR\..
  </code></pre>
  
  <p>But that does not work, also fails on the tests like the <code>pyinstrument</code> example.</p>