Skip to content

Commit b0a1471

Browse files
committed
updated logic to remove git dependencies
1 parent 8206e0a commit b0a1471

File tree

4 files changed

+20
-3
lines changed

4 files changed

+20
-3
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@
55
Current release version: 2.0
66

77
Release date: March, 2024
8+
[![PyPI version](https://img.shields.io/pypi/v/quest-snl)](https://pypi.org/project/quest-snl/)
9+
[![PyPI downloads](https://img.shields.io/pypi/dm/quest-snl)](https://pypi.org/project/quest-snl/)
10+
[![License](https://img.shields.io/pypi/l/quest-snl)](https://github.com/sandialabs/snl-quest/blob/main/LICENSE)
11+
812

913
## Contact
1014
For issues and feedback we would appreciate it if you could use the "Issues" feature of this repository. This helps others join the discussion and helps us keep track of and document issues.

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
44

55
[project]
66
name = "quest-snl"
7-
version = "2.0rc2"
7+
version = "2.0.0rc3"
88
description = "Sandia National Laboratories Energy Storage Application Platform"
99
readme = "README.md"
1010
license = "BSD-3-Clause"

quest/__main__.py

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,22 @@
1+
import subprocess
12
import sys
23
import os
4+
5+
try:
6+
from NodeGraphQt import NodeGraph
7+
except ImportError:
8+
print("NodeGraphQt not found. Installing from GitHub...")
9+
subprocess.check_call([
10+
sys.executable,
11+
"-m", "pip", "install",
12+
"NodeGraphQt @ git+https://github.com/cancom84/NodeGraphQt-PySide6.git"
13+
])
14+
print("Installation complete. Realaunching..")
15+
os.execv(sys.executable, [sys.executable] + sys.argv)
16+
317
import ctypes
418
import psutil
519
import requests
6-
import subprocess
720
from PySide6.QtGui import QIcon, QPixmap
821
from PySide6.QtWidgets import QMainWindow, QApplication, QSizeGrip, QWidget, QMessageBox, QFileSystemModel
922
from PySide6.QtCore import Qt, Signal, Slot, QFile, QSettings, QPoint, QSize, QProcess

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
from setuptools import setup, find_packages
22

33
DISTNAME = "quest-snl"
4-
VERSION = "2.0rc2"
4+
VERSION = "2.0.0rc3"
55
PYTHON_REQUIRES = ">=3.6, <3.11"
66
DESCRIPTION = "Sandia National Laboratories Energy Storage Application Platform"
77

0 commit comments

Comments
 (0)