Move around extension logic

This commit is contained in:
Adam J. Stewart 2016-06-15 11:01:18 -05:00
parent 28b2e36230
commit be407f531e

View File

@ -214,6 +214,9 @@ def __call__(self, stage):
self.build_system = build_system
# Set the appropriate default installation instructions
self.install = installDict[build_system]
# Set any necessary extensions for Python and R
extensions = ''
if build_system in ['python', 'R']:
@ -221,9 +224,6 @@ def __call__(self, stage):
self.extends = extensions
# Set the appropriate default installation instructions
self.install = installDict[build_system]
def guess_name_and_version(url, args):
# Try to deduce name and version of the new package from the URL