unnecesary code
@@ -158,12 +158,8 @@ class ConanMultiPackager(object):
else:
if not os.path.exists("conanfile.py"):
raise Exception("Conanfile not found, specify a 'reference' parameter with name and version")
- try:
+
conanfile = load_cf_class("./conanfile.py", self.conan_api)
- except ConanException: # Currently not able to load conanfiles with python requires,
- # a reference is needed
- self.reference = None
- else:
name, version = conanfile.name, conanfile.version
if name and version:
self.reference = ConanFileReference(name, version, self.username, self.channel)
