[X2Go-Commits] [x2goclient] 03/94: * an example skeleton (not functional yet) for a common file hierarchy for PyHoca CLI+GUI
git-admin at x2go.org
git-admin at x2go.org
Fri Dec 15 21:04:29 CET 2023
This is an automated email from the git hooks/post-receive script.
x2go pushed a commit to annotated tag 0.1.4.0
in repository x2goclient.
commit 8a10b824dc099927a08d52c77aa00df5b8021264
Author: mike <mike at cdb5e8f1-f799-4276-8919-bce57fd91830>
Date: Thu Oct 28 17:19:51 2010 +0000
* an example skeleton (not functional yet) for a common file hierarchy for
PyHoca CLI+GUI
git-svn-id: https://svn.das-netzwerkteam.de/x2go/pyhoca-cli/trunk@12 cdb5e8f1-f799-4276-8919-bce57fd91830
---
README | 2 ++
TODO | 1 +
debian/control | 6 +++---
man/pyhoca-cli.1 | 7 ++++---
pyhoca/__init__.py | 0
pyhoca/cli/__init.py__ | 23 +++++++++++++++++++++++
pyhoca/cli/frontend.py | 24 ++++++++++++++++++++++++
pyhoca/cli/x2go | 1 +
setup.py | 34 ++++++++++++++++++++++++++++++++++
9 files changed, 92 insertions(+), 6 deletions(-)
diff --git a/README b/README
index 902cce5a..67346f79 100644
--- a/README
+++ b/README
@@ -2,6 +2,7 @@ pyhoca-cli - Copyright (C) 2010 by Mike Gabriel <m.gabriel at das-netzwerkteam.de>
Contributors:
Jörg Sawatzki <joerg.sawatzki at web.de>
+ Dick Kniep <dick.kniep at lindix.nl>
Published under the terms of the GNU General Public License.
See http://www.gnu.org/licenses/gpl.html for a recent copy.
@@ -34,6 +35,7 @@ Please refer to the man page:
man pyhoca-cli
=== Known issues ===
+
Please refer to the TODO file that has been shipped with pyhoca-cli.
diff --git a/TODO b/TODO
index 0be537da..fd05d7ea 100644
--- a/TODO
+++ b/TODO
@@ -2,6 +2,7 @@ pyhoca-cli - Copyright (C) 2010 by Mike Gabriel <m.gabriel at das-netzwerkteam.de>
Contributors:
Jörg Sawatzki <joerg.sawatzki at web.de>
+ Dick Kniep <dick.kniep at lindix.nl>
Published under the terms of the GNU General Public License.
See http://www.gnu.org/licenses/gpl.html for a recent copy.
diff --git a/debian/control b/debian/control
index 79179389..eb220a8d 100644
--- a/debian/control
+++ b/debian/control
@@ -8,8 +8,8 @@ Homepage: http://das-netzwerkteam.de/site/?q=node/71
XS-Python-Version: all
Package: pyhoca-cli
+Replaces: pyhoca-cli
Architecture: all
Depends: ${misc:Depends}, python, python-x2go (>=0.0.14-0~nwt1), python-argparse
-Description: X2go client written in Python
- A fully functional X2go client implementation written
- in Python.
+Description: An command line X2go client written in Python
+ A command line X2go client implementation written in Python.
diff --git a/man/pyhoca-cli.1 b/man/pyhoca-cli.1
index 79fae870..3b36454c 100644
--- a/man/pyhoca-cli.1
+++ b/man/pyhoca-cli.1
@@ -22,7 +22,8 @@ pyhoca-cli \- X2go command line client written in Python
.ad b
'hy
.SH DESCRIPTION
-\fBpyhoca-cli\fR is an X2go command line client written in Python.
+\fBpyhoca-cli\fR aims to be a cross-platform (Windows, Mac OS X, Linux) X2go command line client written
+in Python.
.PP
You can use it
for scripting remote X2go sessions or simply starting, resuming or shadowing X2go sessions from
@@ -49,7 +50,7 @@ Enable debugging output.
Enable debugging code of the unterlying Python X2go module.
.TP
\*(T<\fB\-\-libdebug-sftpxfer\fR\*(T>
-Enable debugging code of Python X2go\'s sFTP server code (very verbose, and it may even reveal promiscuous data).
+Enable debugging code of Python X2go's sFTP server code (very verbose, and it may even reveal promiscuous data).
.SH SERVER
.TP
\*(T<\fB\-\-server\fR \fI<HOSTNAME_or_IP>\fR\*(T>
@@ -171,4 +172,4 @@ rfb-hextile, rfb-tight, rfb-tight-compressed
.SH "SEE ALSO"
\fB/usr/share/doc/python-x2go\fR
.SH AUTHOR
-This manual has been written by Mike Gabriel <m.gabriel at das-netzwerkteam.de>
+This manual has been written by Mike Gabriel <m.gabriel at das-netzwerkteam.de>.
diff --git a/pyhoca/__init__.py b/pyhoca/__init__.py
new file mode 100644
index 00000000..e69de29b
diff --git a/pyhoca/cli/__init.py__ b/pyhoca/cli/__init.py__
new file mode 100644
index 00000000..aa21dc44
--- /dev/null
+++ b/pyhoca/cli/__init.py__
@@ -0,0 +1,23 @@
+# -*- coding: utf-8 -*-
+
+# Copyright (C) 2010 by Dick Kniep <m.gabriel at das-netzwerkteam.de>
+#
+# PyHoca CLI is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 3 of the License, or
+# (at your option) any later version.
+#
+# PyHoca CLI is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the
+# Free Software Foundation, Inc.,
+# 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
+
+"""\
+STILL UNDOCUMENTED
+"""
+from frontend import *
\ No newline at end of file
diff --git a/pyhoca/cli/frontend.py b/pyhoca/cli/frontend.py
new file mode 100644
index 00000000..47a11461
--- /dev/null
+++ b/pyhoca/cli/frontend.py
@@ -0,0 +1,24 @@
+# -*- coding: utf-8 -*-
+
+# Copyright (C) 2010 by Dick Kniep <dick.kniep at lindix.nl>
+#
+# PyHoca CLI is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 3 of the License, or
+# (at your option) any later version.
+#
+# PyHoca CLI is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the
+# Free Software Foundation, Inc.,
+# 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
+
+"""\
+STILL UNDOCUMENTED
+"""
+
+class ...
diff --git a/pyhoca/cli/x2go b/pyhoca/cli/x2go
new file mode 120000
index 00000000..b7003701
--- /dev/null
+++ b/pyhoca/cli/x2go
@@ -0,0 +1 @@
+../../../../python/python-x2go/trunk/x2go
\ No newline at end of file
diff --git a/setup.py b/setup.py
new file mode 100755
index 00000000..a257db18
--- /dev/null
+++ b/setup.py
@@ -0,0 +1,34 @@
+#!/usr/bin/env python
+# -*- coding: utf-8 -*-
+
+# Copyright (C) 2010 by Mike Gabriel <m.gabriel at das-netzwerkteam.de>
+#
+# PyHoca is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# PyHoca is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the
+# Free Software Foundation, Inc.,
+# 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+
+from setuptools import setup, find_packages
+import pyhoca.cli
+
+setup(
+ name = "pyhoca-cli",
+ version = pyhoca.cli.__VERSION__,
+ description = "PyHoca CLI is a cross-platform (Windows, MacOS X, Linux) X2go client for the command line.",
+ license = 'GPL',
+ author = 'Mike Gabriel',
+ url = 'http://www.x2go.org',
+ packages = find_packages('.'),
+ package_dir = {'': '.'},
+ install_requires = ['setuptools', ]
+)
--
Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/x2goclient.git
More information about the x2go-commits
mailing list