Generating an envrionment file
++++++++++++++++++++++++++++++++++
Here is how you can generate a specific envrionment file that you can source from to get the PYTHONPATH populated with eggs that you have configured.
::

    >>> init_env()
    >>> index_url = start_server(os.path.sep.join(tempdir)) 
    >>> data = """
    ... [buildout]
    ... download-cache=${buildout:directory}/dl
    ... eggs-directory =${buildout:directory}/eggs
    ... parts = part
    ... [part]
    ... recipe=minitage.recipe.scripts
    ... find-links=%(index)s
    ... env-file = mypy
    ... eggs=foo
    ... """%{'index': index_url}
    >>> touch('buildout.cfg', data=data)
    >>> sh('bin/buildout -vvvvv install')
    b...
    >>> cat('bin', 'mypy')
    #!/usr/bin/env sh
    <BLANKLINE>
    PYTHONPATH="/tmp/buildout.test/eggs/foo-1.0..."
    export PYTHONPATH
    <BLANKLINE>
    <BLANKLINE>
    <BLANKLINE>
    <BLANKLINE>

