Skip to content

Commit

Permalink
use zc.recipe.cmmi
Browse files Browse the repository at this point in the history
  • Loading branch information
gawel committed May 21, 2015
1 parent 39d875f commit 28a8927
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions gp/recipe/node/__init__.py
Expand Up @@ -106,12 +106,12 @@ def install(self):
if 'url' not in options:
options['url'] = url = self.source_format.format(**args)
logger.info('Using source distribution at %s', options['url'])
import hexagonit.recipe.cmmi
import zc.recipe.cmmi
options['environment'] = (
'PYTHONPATH=tools:deps/v8/tools:../../deps/v8/tools'
)

node = hexagonit.recipe.cmmi.Recipe(
node = zc.recipe.cmmi.Recipe(
self.buildout, name, options)
node.install()

Expand Down
2 changes: 1 addition & 1 deletion setup.py
Expand Up @@ -64,7 +64,7 @@ def read(*rnames):
install_requires=['setuptools',
'zc.buildout',
'zc.recipe.egg',
'hexagonit.recipe.cmmi',
'zc.recipe.cmmi',
'python-archive',
],
tests_require=tests_require,
Expand Down
2 changes: 1 addition & 1 deletion tests.py
Expand Up @@ -90,7 +90,7 @@ def test_compile(self):

output = subprocess.check_output(
[os.path.join(self.wd, 'bin', 'node'), '-v'])
self.assertTrue(output.startswith('v0.10.4'))
assert 'v0.12.0' in output
output = subprocess.check_output(
[os.path.join(self.wd, 'bin', 'lessc'), '-v'])
self.assertTrue(output.startswith('lessc'))
Expand Down

0 comments on commit 28a8927

Please sign in to comment.