mirror of
https://github.com/vale981/rmview
synced 2025-03-05 09:11:39 -05:00
Basic packaging
This commit is contained in:
parent
3de86782af
commit
53508224a8
9 changed files with 22 additions and 7 deletions
0
rmview/__init__.py
Normal file
0
rmview/__init__.py
Normal file
8
rmview/__main__.py
Normal file
8
rmview/__main__.py
Normal file
|
@ -0,0 +1,8 @@
|
|||
from .rmview import *
|
||||
|
||||
if __name__ == '__main__':
|
||||
log.setLevel(logging.INFO)
|
||||
QCoreApplication.setAttribute(Qt.AA_EnableHighDpiScaling)
|
||||
ecode = rMViewApp(sys.argv).exec_()
|
||||
print('\nBye!')
|
||||
sys.exit(ecode)
|
|
@ -2,12 +2,12 @@ from PyQt5.QtGui import *
|
|||
from PyQt5.QtWidgets import *
|
||||
from PyQt5.QtCore import *
|
||||
|
||||
import resources
|
||||
from workers import FrameBufferWorker, PointerWorker
|
||||
from connection import rMConnect
|
||||
from viewer import QtImageViewer
|
||||
from . import resources
|
||||
from .workers import FrameBufferWorker, PointerWorker
|
||||
from .connection import rMConnect
|
||||
from .viewer import QtImageViewer
|
||||
|
||||
from rmparams import *
|
||||
from .rmparams import *
|
||||
|
||||
import sys
|
||||
import os
|
|
@ -2,7 +2,7 @@ from PyQt5.QtGui import *
|
|||
from PyQt5.QtWidgets import *
|
||||
from PyQt5.QtCore import *
|
||||
|
||||
from rmparams import *
|
||||
from .rmparams import *
|
||||
|
||||
import paramiko
|
||||
import struct
|
||||
|
@ -17,7 +17,7 @@ from twisted.internet.protocol import Protocol
|
|||
from twisted.internet import protocol, reactor
|
||||
from twisted.application import internet, service
|
||||
|
||||
from rfb import *
|
||||
from .rfb import *
|
||||
|
||||
try:
|
||||
IMG_FORMAT = QImage.Format_Grayscale16
|
7
setup.py
Normal file
7
setup.py
Normal file
|
@ -0,0 +1,7 @@
|
|||
from setuptools import setup, find_packages
|
||||
|
||||
setup(
|
||||
name='rmview',
|
||||
packages=['rmview'],
|
||||
install_requires=['pyqt5', 'paramiko', 'twisted']
|
||||
)
|
Loading…
Add table
Reference in a new issue