Commit a0a956b7 authored by Jim Fulton's avatar Jim Fulton

Added test of specifying version to build.

parent 78e894b4
......@@ -1679,6 +1679,25 @@ def install_source_dist_with_bad_py():
- buildout
"""
def version_requirements_in_build_honored():
'''
>>> update_extdemo()
>>> dest = tmpdir('sample-install')
>>> mkdir('include')
>>> write('include', 'extdemo.h',
... """
... #define EXTDEMO 42
... """)
>>> zc.buildout.easy_install.build(
... 'extdemo ==1.4', dest,
... {'include-dirs': os.path.join(sample_buildout, 'include')},
... links=[link_server], index=link_server+'index/',
... newest=False)
['/sample-install/extdemo-1.4-py2.4-linux-i686.egg']
'''
######################################################################
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment