[Erp5-report] r45225 luke - in /slapos/trunk/util/slapos.tool.console: ./ src/ src/slapos/ ...
nobody at svn.erp5.org
nobody at svn.erp5.org
Fri Apr 8 11:29:34 CEST 2011
Author: luke
Date: Fri Apr 8 11:29:34 2011
New Revision: 45225
URL: http://svn.erp5.org?rev=45225&view=rev
Log:
- slap powered python console
Added:
slapos/trunk/util/slapos.tool.console/
slapos/trunk/util/slapos.tool.console/CHANGES.txt
slapos/trunk/util/slapos.tool.console/MANIFEST.in
slapos/trunk/util/slapos.tool.console/README.txt
slapos/trunk/util/slapos.tool.console/setup.cfg
slapos/trunk/util/slapos.tool.console/setup.py
slapos/trunk/util/slapos.tool.console/src/
slapos/trunk/util/slapos.tool.console/src/slapos/
slapos/trunk/util/slapos.tool.console/src/slapos/__init__.py
slapos/trunk/util/slapos.tool.console/src/slapos/tool/
slapos/trunk/util/slapos.tool.console/src/slapos/tool/__init__.py
slapos/trunk/util/slapos.tool.console/src/slapos/tool/console/
slapos/trunk/util/slapos.tool.console/src/slapos/tool/console/__init__.py
slapos/trunk/util/slapos.tool.console/src/slapos/tool/console/console.py
Added: slapos/trunk/util/slapos.tool.console/CHANGES.txt
URL: http://svn.erp5.org/slapos/trunk/util/slapos.tool.console/CHANGES.txt?rev=45225&view=auto
==============================================================================
--- slapos/trunk/util/slapos.tool.console/CHANGES.txt (added)
+++ slapos/trunk/util/slapos.tool.console/CHANGES.txt [utf8] Fri Apr 8 11:29:34 2011
@@ -0,0 +1,2 @@
+1.0 (unreleased)
+----------------
Added: slapos/trunk/util/slapos.tool.console/MANIFEST.in
URL: http://svn.erp5.org/slapos/trunk/util/slapos.tool.console/MANIFEST.in?rev=45225&view=auto
==============================================================================
--- slapos/trunk/util/slapos.tool.console/MANIFEST.in (added)
+++ slapos/trunk/util/slapos.tool.console/MANIFEST.in [utf8] Fri Apr 8 11:29:34 2011
@@ -0,0 +1 @@
+include CHANGES.txt
Added: slapos/trunk/util/slapos.tool.console/README.txt
URL: http://svn.erp5.org/slapos/trunk/util/slapos.tool.console/README.txt?rev=45225&view=auto
==============================================================================
--- slapos/trunk/util/slapos.tool.console/README.txt (added)
+++ slapos/trunk/util/slapos.tool.console/README.txt [utf8] Fri Apr 8 11:29:34 2011
@@ -0,0 +1,3 @@
+slapconsole
+===========
+
Added: slapos/trunk/util/slapos.tool.console/setup.cfg
URL: http://svn.erp5.org/slapos/trunk/util/slapos.tool.console/setup.cfg?rev=45225&view=auto
==============================================================================
--- slapos/trunk/util/slapos.tool.console/setup.cfg (added)
+++ slapos/trunk/util/slapos.tool.console/setup.cfg [utf8] Fri Apr 8 11:29:34 2011
@@ -0,0 +1,3 @@
+[egg_info]
+tag_build = .dev
+tag_svn_revision = 1
Added: slapos/trunk/util/slapos.tool.console/setup.py
URL: http://svn.erp5.org/slapos/trunk/util/slapos.tool.console/setup.py?rev=45225&view=auto
==============================================================================
--- slapos/trunk/util/slapos.tool.console/setup.py (added)
+++ slapos/trunk/util/slapos.tool.console/setup.py [utf8] Fri Apr 8 11:29:34 2011
@@ -0,0 +1,38 @@
+from setuptools import setup, find_packages
+import os
+
+name = "slapos.tool.console"
+version = '1.0'
+
+def read(*rnames):
+ return open(os.path.join(os.path.dirname(__file__), *rnames)).read()
+
+long_description=(
+ read('README.txt')
+ + '\n' +
+ read('CHANGES.txt')
+ )
+
+setup(
+ name = name,
+ version = version,
+ description = "slapconsole - the slap library console",
+ long_description=long_description,
+ license = "GPLv3",
+ keywords = "vifib console slap",
+ classifiers=[
+ ],
+ packages = find_packages('src'),
+ include_package_data = True,
+ package_dir = {'':'src'},
+ namespace_packages = ['slapos', 'slapos.tool'],
+ install_requires = [
+ 'setuptools', # namespaces
+ 'slapos.slap', # slapgrid uses slap to communicate with vifib
+ ],
+ zip_safe=False,
+ entry_points = """
+ [console_scripts]
+ slapconsole = %(name)s.console:run
+ """ % dict(name=name),
+ )
Added: slapos/trunk/util/slapos.tool.console/src/slapos/__init__.py
URL: http://svn.erp5.org/slapos/trunk/util/slapos.tool.console/src/slapos/__init__.py?rev=45225&view=auto
==============================================================================
--- slapos/trunk/util/slapos.tool.console/src/slapos/__init__.py (added)
+++ slapos/trunk/util/slapos.tool.console/src/slapos/__init__.py [utf8] Fri Apr 8 11:29:34 2011
@@ -0,0 +1,7 @@
+# See http://peak.telecommunity.com/DevCenter/setuptools#namespace-packages
+try:
+ __import__('pkg_resources').declare_namespace(__name__)
+except ImportError:
+ from pkgutil import extend_path
+ __path__ = extend_path(__path__, __name__)
+
Added: slapos/trunk/util/slapos.tool.console/src/slapos/tool/__init__.py
URL: http://svn.erp5.org/slapos/trunk/util/slapos.tool.console/src/slapos/tool/__init__.py?rev=45225&view=auto
==============================================================================
--- slapos/trunk/util/slapos.tool.console/src/slapos/tool/__init__.py (added)
+++ slapos/trunk/util/slapos.tool.console/src/slapos/tool/__init__.py [utf8] Fri Apr 8 11:29:34 2011
@@ -0,0 +1,7 @@
+# See http://peak.telecommunity.com/DevCenter/setuptools#namespace-packages
+try:
+ __import__('pkg_resources').declare_namespace(__name__)
+except ImportError:
+ from pkgutil import extend_path
+ __path__ = extend_path(__path__, __name__)
+
Added: slapos/trunk/util/slapos.tool.console/src/slapos/tool/console/__init__.py
URL: http://svn.erp5.org/slapos/trunk/util/slapos.tool.console/src/slapos/tool/console/__init__.py?rev=45225&view=auto
==============================================================================
--- slapos/trunk/util/slapos.tool.console/src/slapos/tool/console/__init__.py (added)
+++ slapos/trunk/util/slapos.tool.console/src/slapos/tool/console/__init__.py [utf8] Fri Apr 8 11:29:34 2011
@@ -0,0 +1,26 @@
+##############################################################################
+#
+# Copyright (c) 2010 Vifib SARL and Contributors. All Rights Reserved.
+#
+# WARNING: This program as such is intended to be used by professional
+# programmers who take the whole responsibility of assessing all potential
+# consequences resulting from its eventual inadequacies and bugs
+# End users who are looking for a ready-to-use solution with commercial
+# guarantees and support are strongly adviced to contract a Free Software
+# Service Company
+#
+# This program 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.
+#
+# This program 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.
+#
+##############################################################################
Added: slapos/trunk/util/slapos.tool.console/src/slapos/tool/console/console.py
URL: http://svn.erp5.org/slapos/trunk/util/slapos.tool.console/src/slapos/tool/console/console.py?rev=45225&view=auto
==============================================================================
--- slapos/trunk/util/slapos.tool.console/src/slapos/tool/console/console.py (added)
+++ slapos/trunk/util/slapos.tool.console/src/slapos/tool/console/console.py [utf8] Fri Apr 8 11:29:34 2011
@@ -0,0 +1,29 @@
+##############################################################################
+#
+# Copyright (c) 2010 Vifib SARL and Contributors. All Rights Reserved.
+#
+# WARNING: This program as such is intended to be used by professional
+# programmers who take the whole responsibility of assessing all potential
+# consequences resulting from its eventual inadequacies and bugs
+# End users who are looking for a ready-to-use solution with commercial
+# guarantees and support are strongly adviced to contract a Free Software
+# Service Company
+#
+# This program 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.
+#
+# This program 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.
+#
+##############################################################################
+
+def run():
+ __import__("code").interact(banner="", local=globals())
More information about the Erp5-report
mailing list