[pytango] 60/98: Remove IPython modules

Sandor Bodo-Merle sbodomerle-guest at moszumanska.debian.org
Thu Sep 28 19:17:45 UTC 2017


This is an automated email from the git hooks/post-receive script.

sbodomerle-guest pushed a commit to tag v9.2.0
in repository pytango.

commit 83a5c8db43623f7993871fc1085c4012f3cfeeac
Author: Vincent Michel <vincent.michel at maxlab.lu.se>
Date:   Fri Jul 8 16:17:17 2016 +0200

    Remove IPython modules
---
 IPython/Extensions/ipy_profile_tango.py        | 26 --------------------------
 IPython/config/profile/tango/ipython_config.py | 22 ----------------------
 2 files changed, 48 deletions(-)

diff --git a/IPython/Extensions/ipy_profile_tango.py b/IPython/Extensions/ipy_profile_tango.py
deleted file mode 100644
index d54ef2c..0000000
--- a/IPython/Extensions/ipy_profile_tango.py
+++ /dev/null
@@ -1,26 +0,0 @@
-# ------------------------------------------------------------------------------
-# This file is part of PyTango (http://www.tinyurl.com/PyTango)
-#
-# Copyright 2006-2012 CELLS / ALBA Synchrotron, Bellaterra, Spain
-# Copyright 2013-2014 European Synchrotron Radiation Facility, Grenoble, France
-#
-# Distributed under the terms of the GNU Lesser General Public License,
-# either version 3 of the License, or (at your option) any later version.
-# See LICENSE.txt for more info.
-# ------------------------------------------------------------------------------
-
-""" IPython 'spock' profile, to preload PyTango and offer a friendly interface to Tango."""
-
-import IPython.ipapi
-import ipy_defaults
-
-def main():
-    ip = IPython.ipapi.get()
-    try:
-        ip.ex("import IPython.ipapi")
-        ip.ex("import PyTango.ipython")
-        ip.ex("PyTango.ipython.init_ipython(IPython.ipapi.get())")
-    except ImportError:
-        print "Unable to start spock profile, is PyTango installed?"
-
-main()
diff --git a/IPython/config/profile/tango/ipython_config.py b/IPython/config/profile/tango/ipython_config.py
deleted file mode 100644
index e7f1ad0..0000000
--- a/IPython/config/profile/tango/ipython_config.py
+++ /dev/null
@@ -1,22 +0,0 @@
-# ------------------------------------------------------------------------------
-# This file is part of PyTango (http://www.tinyurl.com/PyTango)
-#
-# Copyright 2006-2012 CELLS / ALBA Synchrotron, Bellaterra, Spain
-# Copyright 2013-2014 European Synchrotron Radiation Facility, Grenoble, France
-#
-# Distributed under the terms of the GNU Lesser General Public License,
-# either version 3 of the License, or (at your option) any later version.
-# See LICENSE.txt for more info.
-# ------------------------------------------------------------------------------
-
-config = get_config()
-
-# This can be used at any point in a config file to load a sub config
-# and merge it into the current one.
-load_subconfig('ipython_config.py', profile='default')
-
-import PyTango.ipython
-PyTango.ipython.load_config(config)
-
-
-

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/pytango.git



More information about the debian-science-commits mailing list