mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-06 22:47:29 -06:00
Merge pull request #13003 from Ultimaker/CURA-8792_update_pycharm_run_config
[CURA-8792] Move run configuration templates out of conan-config into this repo.
This commit is contained in:
commit
00d99d10b9
4 changed files with 161 additions and 17 deletions
20
conanfile.py
20
conanfile.py
|
@ -1,11 +1,6 @@
|
|||
import os
|
||||
import sys
|
||||
from pathlib import Path
|
||||
|
||||
from io import StringIO
|
||||
|
||||
from platform import python_version
|
||||
|
||||
from jinja2 import Template
|
||||
|
||||
from conans import tools
|
||||
|
@ -59,18 +54,9 @@ class CuraConan(ConanFile):
|
|||
"revision": "auto"
|
||||
}
|
||||
|
||||
# TODO: Add unit tests (but they need a different jinja template
|
||||
_pycharm_targets = [{
|
||||
"name": "cura",
|
||||
"module_name": "Cura",
|
||||
"script_name": "cura_app.py",
|
||||
}, {
|
||||
"name": "cura_external_engine",
|
||||
"module_name": "Cura",
|
||||
"script_name": "cura_app.py",
|
||||
"parameters": "--external-backend"
|
||||
}
|
||||
]
|
||||
@property
|
||||
def _pycharm_targets(self):
|
||||
return self.conan_data["pycharm_targets"]
|
||||
|
||||
# FIXME: These env vars should be defined in the runenv.
|
||||
_cura_env = None
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue