Skip to content

Commit ecaa816

Browse files
committed
Merge branch 'master' of https://github.com/jchanvfx/NodeGraphQt into restructure_items
2 parents 332a745 + a5aeace commit ecaa816

File tree

6 files changed

+46
-4
lines changed

6 files changed

+46
-4
lines changed

.gitignore

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ docs/_build/
99
*.db
1010
*.DS_Store
1111

12-
# test
13-
*.ngqt
14-
*.json
12+
# test stuff
13+
dist
14+
*.egg-info
15+
*.json

NodeGraphQt/errors.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
#!/usr/bin/python
2+
# -*- coding: utf-8 -*-
23

34

45
class NodePropertyError(Exception):

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
## NodeGraphQT
1+
## NodeGraphQt
22

33
[![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](LICENSE.md)
44
[![PEP8](https://img.shields.io/badge/code%20style-pep8-green.svg)](https://www.python.org/dev/peps/pep-0008/)

example.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
11
#!/usr/bin/python
2+
# -*- coding: utf-8 -*-
23
import os
34
import sys
45

56
from NodeGraphQt import NodeGraph, Node, Backdrop, setup_context_menu
67
from NodeGraphQt import QtWidgets, QtCore
8+
79
# import example nodes from the "example_nodes" package
810
from example_nodes import basic_nodes, widget_nodes
911

requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
PySide2>=5.12

setup.py

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
#!/usr/bin/python
2+
# -*- coding: utf-8 -*-
3+
import setuptools
4+
5+
from NodeGraphQt import __version__ as version
6+
7+
with open('README.md', 'r') as fh:
8+
long_description = fh.read()
9+
10+
description = (
11+
'Node graph framework that can be re-implemented into applications that '
12+
'supports PySide & PySide2'
13+
)
14+
classifiers = [
15+
'Programming Language :: Python :: 3.7.2',
16+
'License :: OSI Approved :: MIT License',
17+
'Operating System :: OS Independent',
18+
]
19+
20+
setuptools.setup(
21+
name='NodeGraphQt',
22+
version=version,
23+
author='Johnny Chan',
24+
author_email='[email protected]',
25+
description=description,
26+
long_description=long_description,
27+
long_description_content_type='text/markdown',
28+
url='https://github.com/jchanvfx/NodeGraphQt',
29+
packages=['NodeGraphQt'],
30+
classifiers=classifiers,
31+
)
32+
33+
34+
"""
35+
python setup.py sdist
36+
sudo python setup.py install
37+
"""

0 commit comments

Comments
 (0)