Browse Source

Revert "Specify channel for conandata"

This reverts commit 4918c2d741.
pull/4/head
c.lamboo 4 years ago
parent
commit
4cc5c3a54b
  1. 4
      generators/PyCharmRunEnv.py

4
generators/PyCharmRunEnv.py

@ -35,7 +35,7 @@ class PyCharmRunEnv(Generator):
@property
def filename(self):
stem = Path(self.conanfile._um_data(self.conanfile.version, self.channel)["runinfo"]["entrypoint"]).stem
stem = Path(self.conanfile._um_data(self.conanfile.version)["runinfo"]["entrypoint"]).stem
return str(Path(self.conanfile.source_folder).joinpath(".run", f"{stem}.run.xml"))
@property
@ -43,6 +43,6 @@ class PyCharmRunEnv(Generator):
run_env = VirtualRunEnv(self.conanfile)
env = run_env.environment()
envvars = env.vars(self.conanfile, scope = "run")
entrypoint = self.conanfile._um_data(self.conanfile.version, self.channel)["runinfo"]["entrypoint"]
entrypoint = self.conanfile._um_data(self.conanfile.version)["runinfo"]["entrypoint"]
return self.run_xml.render(name = entrypoint, envvars = envvars,
entrypoint = entrypoint)

Loading…
Cancel
Save