mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-24 07:03:56 -06:00
Added CuraDirve plugin to Cura build
CURA-6005
This commit is contained in:
parent
3db3203e0d
commit
c62cb84c75
43 changed files with 1287 additions and 1 deletions
14
plugins/CuraDrive/__init__.py
Normal file
14
plugins/CuraDrive/__init__.py
Normal file
|
@ -0,0 +1,14 @@
|
|||
# Copyright (c) 2017 Ultimaker B.V.
|
||||
import os
|
||||
|
||||
is_testing = os.getenv('ENV_NAME', "development") == "testing"
|
||||
|
||||
# Only load the whole plugin when not running tests as __init__.py is automatically loaded by PyTest
|
||||
if not is_testing:
|
||||
from .src.DrivePluginExtension import DrivePluginExtension
|
||||
|
||||
def getMetaData():
|
||||
return {}
|
||||
|
||||
def register(app):
|
||||
return {"extension": DrivePluginExtension(app)}
|
Loading…
Add table
Add a link
Reference in a new issue