Skip to content

Commit

Permalink
Foobar
Browse files Browse the repository at this point in the history
  • Loading branch information
JayFoxRox committed May 23, 2019
1 parent d0f1549 commit 92fcb0b
Show file tree
Hide file tree
Showing 3 changed files with 34 additions and 3 deletions.
3 changes: 3 additions & 0 deletions __main__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/usr/bin/env python
from . import main
main.main()
6 changes: 3 additions & 3 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
from PyQt5.QtWidgets import QApplication, QDialog, QFileDialog, QMainWindow, QMessageBox
from PyQt5.uic import loadUiType
from PyQt5 import QtCore, QtGui
from qmp import QEMUMonitorProtocol
from .qmp import QEMUMonitorProtocol
import sys
import os, os.path
import json
Expand All @@ -16,8 +16,8 @@
SETTINGS_FILE = './settings.json'

# Load UI files
settings_class, _ = loadUiType('settings.ui')
mainwindow_class, _ = loadUiType('mainwindow.ui')
settings_class, _ = loadUiType(os.path.join(os.path.dirname(__file__), 'settings.ui'))
mainwindow_class, _ = loadUiType(os.path.join(os.path.dirname(__file__), 'mainwindow.ui'))

class SettingsManager(object):
def __init__(self):
Expand Down
28 changes: 28 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
#!/usr/bin/env python

import setuptools

with open("README.md", "r") as fh:
long_description = fh.read()

setuptools.setup(
name="XQEMU-Manager",
version="0-dev",
maintainer="XQEMU maintainers",
description="Simple graphical user interface to manage XQEMU",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/xqemu/xqemu-manager",
classifiers=(
"Programming Language :: Python :: 3",
"License :: OSI Approved :: GNU General Public License v2 (GPLv2)",
"Operating System :: OS Independent",
"Intended Audience :: End Users/Desktop",
"Topic :: Games/Entertainment",
"Topic :: System :: Emulators",
),
install_requires=['PyQt5'],
packages=['xqemu-manager'],
package_dir={'xqemu-manager': ''},
package_data={'xqemu-manager': ['*.ui']},
)

0 comments on commit 92fcb0b

Please sign in to comment.