Skip to content

Commit

Permalink
updated setup from #111
Browse files Browse the repository at this point in the history
  • Loading branch information
jchanvfx committed Aug 11, 2019
1 parent 3766921 commit df594c7
Show file tree
Hide file tree
Showing 4 changed files with 30 additions and 28 deletions.
26 changes: 9 additions & 17 deletions NodeGraphQt/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,22 +30,6 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
# EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

__version__ = '0.0.9'
__status__ = 'Work in Progress'
__license__ = 'MIT'

__author__ = 'Johnny Chan'
__email__ = 'http://chantasticvfx.com/contact'

__module_name__ = 'NodeGraphQt'
__url__ = 'https://github.com/jchanvfx/NodeGraphQt'

__all__ = [
'BackdropNode', 'BaseNode', 'Menu', 'MenuCommand', 'NodeGraph',
'NodeObject', 'NodeTreeWidget', 'Port', 'PropertiesBinWidget',
'constants', 'setup_context_menu'
]

try:
from Qt import QtWidgets, QtGui, QtCore, QtCompat
except ImportError as ie:
Expand All @@ -55,13 +39,21 @@
'"NodeGraphQt.vendor.Qt ({})"'.format(qtpy_ver))

from .base.graph import NodeGraph
from .base.menu import Menu, MenuCommand
from .base.node import NodeObject, BaseNode, BackdropNode
from .base.port import Port
from .base.menu import Menu, MenuCommand
from .pkg_info import __version__ as VERSION

# functions
from .base.actions import setup_context_menu

# widgets
from .widgets.node_tree import NodeTreeWidget
from .widgets.properties_bin import PropertiesBinWidget

__version__ = VERSION
__all__ = [
'BackdropNode', 'BaseNode', 'Menu', 'MenuCommand', 'NodeGraph',
'NodeObject', 'NodeTreeWidget', 'Port', 'PropertiesBinWidget', 'VERSION',
'constants', 'setup_context_menu'
]
11 changes: 11 additions & 0 deletions NodeGraphQt/pkg_info.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
#!/usr/bin/python
# -*- coding: utf-8 -*-
__version__ = '0.0.10'
__status__ = 'Work in Progress'
__license__ = 'MIT'

__author__ = 'Johnny Chan'
__email__ = 'http://chantasticvfx.com/contact'

__module_name__ = 'NodeGraphQt'
__url__ = 'https://github.com/jchanvfx/NodeGraphQt'
1 change: 0 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
PySide2>=5.12
Qt.py>=1.2.0
python>=3.6
20 changes: 10 additions & 10 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
#!/usr/bin/python
# -*- coding: utf-8 -*-
import setuptools

import NodeGraphQt
import .pkg_info as pkg_info

with open('README.md', 'r') as fh:
long_description = fh.read()
Expand All @@ -21,18 +20,19 @@
]

setuptools.setup(
name='NodeGraphQt',
version=NodeGraphQt.__version__,
install_requires=requirements,
author='Johnny Chan',
author_email='johnny@chantasticvfx.com',
name=pkg_info.__module_name__,
version=pkg_info.__version__,
author=pkg_info.__author__,
author_email=pkg_info.__email__,
description=description,
long_description=long_description,
long_description_content_type='text/markdown',
url='https://github.com/jchanvfx/NodeGraphQt',
packages=setuptools.find_packages(exclude=["example_nodes"]),
url=pkg_info.__url__,
packages=setuptools.find_packages(exclude=['example_nodes']),
classifiers=classifiers,
include_package_data=True
install_requires=requirements,
include_package_data=True,
python_requires='>=3.6'
)


Expand Down

0 comments on commit df594c7

Please sign in to comment.