Skip to content
This repository

My fix rpmlint #647

Merged
merged 3 commits into from over 2 years ago

3 participants

Thomas Spura Min RK Fernando Perez
Thomas Spura

This series of commits fixes many rpmlint warnings/errors:
ipython-doc.noarch: W: spurious-executable-perm /usr/share/doc/ipython-0.11/examples/core/seteditor.py
ipython-doc.noarch: W: hidden-file-or-dir /usr/share/doc/ipython-0.11/manual/.buildinfo
ipython-doc.noarch: W: doc-file-dependency /usr/share/doc/ipython-0.11/examples/newparallel/wave2D/RectPartitioner.py /usr/bin/env
ipython-doc.noarch: W: doc-file-dependency /usr/share/doc/ipython-0.11/examples/newparallel/task2.py /usr/bin/env
ipython-doc.noarch: W: doc-file-dependency /usr/share/doc/ipython-0.11/examples/core/example-embed.py /usr/bin/env
ipython-doc.noarch: W: doc-file-dependency /usr/share/doc/ipython-0.11/examples/lib/gui-gtk.py /usr/bin/env
ipython-doc.noarch: W: doc-file-dependency /usr/share/doc/ipython-0.11/examples/newparallel/workflow/job_wrapper.py /usr/bin/env
ipython-doc.noarch: W: doc-file-dependency /usr/share/doc/ipython-0.11/examples/lib/gui-qt.py /usr/bin/env
ipython-doc.noarch: W: doc-file-dependency /usr/share/doc/ipython-0.11/examples/core/example-gnuplot.py /usr/bin/env
ipython-doc.noarch: W: doc-file-dependency /usr/share/doc/ipython-0.11/examples/newparallel/wave2D/parallelwave-mpi.py /usr/bin/env
ipython-doc.noarch: W: doc-file-dependency /usr/share/doc/ipython-0.11/examples/lib/gui-tk.py /usr/bin/env
ipython-doc.noarch: W: doc-file-dependency /usr/share/doc/ipython-0.11/examples/newparallel/wave2D/parallelwave.py /usr/bin/env
ipython-doc.noarch: W: doc-file-dependency /usr/share/doc/ipython-0.11/examples/newparallel/wave2D/wavesolver.py /usr/bin/env
ipython-doc.noarch: W: doc-file-dependency /usr/share/doc/ipython-0.11/examples/lib/gui-wx.py /usr/bin/env
ipython-gui.noarch: W: no-documentation
ipython.noarch: W: spelling-error %description -l en_US embeddable -> embedded
ipython.noarch: W: spelling-error %description -l en_US pdb -> pd, db, pub
ipython.noarch: W: spelling-error %description -l en_US profiler -> profile, profiles, profiled
ipython.noarch: E: non-executable-script /usr/lib/python2.7/site-packages/IPython/core/splitinput.py 0644L /usr/bin/env
ipython.noarch: E: non-executable-script /usr/lib/python2.7/site-packages/IPython/testing/mkdoctests.py 0644L /usr/bin/env
ipython.noarch: E: non-executable-script /usr/lib/python2.7/site-packages/IPython/parallel/apps/iploggerapp.py 0644L /usr/bin/env
ipython.noarch: E: non-executable-script /usr/lib/python2.7/site-packages/IPython/utils/ipstruct.py 0644L /usr/bin/env
ipython.noarch: E: non-executable-script /usr/lib/python2.7/site-packages/IPython/parallel/controller/hub.py 0644L /usr/bin/env
ipython.noarch: E: non-executable-script /usr/lib/python2.7/site-packages/IPython/testing/plugin/iptest.py 0644L /usr/bin/env
ipython.noarch: E: non-executable-script /usr/lib/python2.7/site-packages/IPython/lib/inputhookwx.py 0644L /usr/bin/env
ipython.noarch: E: non-executable-script /usr/lib/python2.7/site-packages/IPython/external/ssh/forward.py 0644L /usr/bin/env
ipython.noarch: E: incorrect-fsf-address /usr/lib/python2.7/site-packages/IPython/external/ssh/forward.py
ipython.noarch: E: non-executable-script /usr/lib/python2.7/site-packages/IPython/external/guid/guid.py 0644L /usr/bin/env
ipython.noarch: E: non-executable-script /usr/lib/python2.7/site-packages/IPython/zmq/kernelapp.py 0644L /usr/bin/env
ipython.noarch: E: non-executable-script /usr/lib/python2.7/site-packages/IPython/parallel/engine/engine.py 0644L /usr/bin/env
ipython.noarch: E: non-executable-script /usr/lib/python2.7/site-packages/IPython/lib/__init_
.py 0644L /usr/bin/env
ipython.noarch: E: non-executable-script /usr/lib/python2.7/site-packages/IPython/parallel/engine/streamkernel.py 0644L /usr/bin/env
ipython.noarch: E: non-executable-script /usr/lib/python2.7/site-packages/IPython/core/error.py 0644L /usr/bin/env
ipython.noarch: E: non-executable-script /usr/lib/python2.7/site-packages/IPython/utils/notification.py 0644L /usr/bin/env
ipython.noarch: E: non-executable-script /usr/lib/python2.7/site-packages/IPython/core/alias.py 0644L /usr/bin/env
ipython.noarch: E: non-executable-script /usr/lib/python2.7/site-packages/IPython/parallel/apps/winhpcjob.py 0644L /usr/bin/env
ipython.noarch: E: non-executable-script /usr/lib/python2.7/site-packages/IPython/core/autocall.py 0644L /usr/bin/env
ipython.noarch: E: non-executable-script /usr/lib/python2.7/site-packages/IPython/lib/inputhookgtk.py 0644L /usr/bin/env
ipython.noarch: E: non-executable-script /usr/lib/python2.7/site-packages/IPython/parallel/apps/ipclusterapp.py 0644L /usr/bin/env
ipython.noarch: E: non-executable-script /usr/lib/python2.7/site-packages/IPython/utils/upgradedir.py 0644L /usr/bin/env
ipython.noarch: E: non-executable-script /usr/lib/python2.7/site-packages/IPython/core/ipapi.py 0644L /usr/bin/env
ipython.noarch: E: non-executable-script /usr/lib/python2.7/site-packages/IPython/core/prefilter.py 0644L /usr/bin/env
ipython.noarch: E: non-executable-script /usr/lib/python2.7/site-packages/IPython/extensions/parallelmagic.py 0644L /usr/bin/env
ipython.noarch: E: non-executable-script /usr/lib/python2.7/site-packages/IPython/utils/pickleshare.py 0644L /usr/bin/env
ipython.noarch: E: non-executable-script /usr/lib/python2.7/site-packages/IPython/lib/inputhook.py 0644L /usr/bin/env
ipython.noarch: E: non-executable-script /usr/lib/python2.7/site-packages/IPython/zmq/pykernel.py 0644L /usr/bin/env
ipython.noarch: E: non-executable-script /usr/lib/python2.7/site-packages/IPython/parallel/apps/ipcontrollerapp.py 0644L /usr/bin/env
ipython.noarch: E: non-executable-script /usr/lib/python2.7/site-packages/IPython/zmq/ipkernel.py 0644L /usr/bin/env
ipython.noarch: E: non-executable-script /usr/lib/python2.7/site-packages/IPython/lib/guisupport.py 0644L /usr/bin/env
ipython.noarch: E: non-executable-script /usr/lib/python2.7/site-packages/IPython/core/page.py 0644L /usr/bin/env
ipython.noarch: E: non-executable-script /usr/lib/python2.7/site-packages/IPython/parallel/apps/win32support.py 0644L /usr/bin/env
ipython.noarch: E: non-executable-script /usr/lib/python2.7/site-packages/IPython/testing/plugin/setup.py 0644L /usr/bin/env
ipython.noarch: E: non-executable-script /usr/lib/python2.7/site-packages/IPython/parallel/apps/baseapp.py 0644L /usr/bin/env
ipython.noarch: E: non-executable-script /usr/lib/python2.7/site-packages/IPython/core/display_trap.py 0644L /usr/bin/env
ipython.noarch: E: non-executable-script /usr/lib/python2.7/site-packages/IPython/parallel/controller/heartmonitor.py 0644L /usr/bin/env
ipython.noarch: E: non-executable-script /usr/lib/python2.7/site-packages/IPython/utils/syspathcontext.py 0644L /usr/bin/env
ipython.noarch: E: non-executable-script /usr/lib/python2.7/site-packages/IPython/frontend/terminal/ipapp.py 0644L /usr/bin/env
ipython.noarch: E: non-executable-script /usr/lib/python2.7/site-packages/IPython/zmq/session.py 0644L /usr/bin/env
ipython.noarch: E: non-executable-script /usr/lib/python2.7/site-packages/IPython/quarantine/ipy_workdir.py 0644L /usr/bin/env
ipython.noarch: E: non-executable-script /usr/lib/python2.7/site-packages/IPython/quarantine/ipy_gnuglobal.py 0644L /usr/bin/env
ipython.noarch: E: non-executable-script /usr/lib/python2.7/site-packages/IPython/config/configurable.py 0644L /usr/bin/env
ipython.noarch: E: non-executable-script /usr/lib/python2.7/site-packages/IPython/core/shellapp.py 0644L /usr/bin/env
ipython.noarch: W: hidden-file-or-dir /usr/lib/python2.7/site-packages/IPython/.git_commit_info.ini
ipython.noarch: E: non-executable-script /usr/lib/python2.7/site-packages/IPython/core/payloadpage.py 0644L /usr/bin/env
ipython.noarch: E: non-executable-script /usr/lib/python2.7/site-packages/IPython/zmq/frontend.py 0644L /usr/bin/env
ipython.noarch: E: non-executable-script /usr/lib/python2.7/site-packages/IPython/lib/irunner.py 0644L /usr/bin/env
ipython.noarch: E: non-executable-script /usr/lib/python2.7/site-packages/IPython/parallel/apps/ipengineapp.py 0644L /usr/bin/env
ipython.noarch: E: non-executable-script /usr/lib/python2.7/site-packages/IPython/quarantine/ipy_render.py 0644L /usr/bin/env
ipython.noarch: E: non-executable-script /usr/lib/python2.7/site-packages/IPython/utils/traitlets.py 0644L /usr/bin/env
ipython.noarch: E: non-executable-script /usr/lib/python2.7/site-packages/IPython/parallel/apps/logwatcher.py 0644L /usr/bin/env
ipython-tests.noarch: W: no-documentation
ipython-tests.noarch: E: non-executable-script /usr/lib/python2.7/site-packages/IPython/config/tests/test_configurable.py 0644L /usr/bin/env
ipython-tests.noarch: E: non-executable-script /usr/lib/python2.7/site-packages/IPython/core/tests/test_imports.py 0644L /usr/bin/env
ipython-tests.noarch: E: non-executable-script /usr/lib/python2.7/site-packages/IPython/utils/tests/test_traitlets.py 0644L /usr/bin/env
ipython-tests.noarch: E: non-executable-script /usr/lib/python2.7/site-packages/IPython/lib/tests/test_imports.py 0644L /usr/bin/env
ipython-tests.noarch: E: non-executable-script /usr/lib/python2.7/site-packages/IPython/testing/tests/test_tools.py 0644L /usr/bin/env
ipython-tests.noarch: E: non-executable-script /usr/lib/python2.7/site-packages/IPython/config/tests/test_loader.py 0644L /usr/bin/env
ipython-tests.noarch: W: no-manual-page-for-binary iptest
4 packages and 0 specfiles checked; 58 errors, 21 warnings.

added some commits July 31, 2011
Thomas Spura Fix rpmlint: spurious-executable-perm
"""
The file is installed with executable permissions, but was identified as one
that probably should not be executable.  Verify if the executable bits are
desired, and remove if not.
"""
98f7126
Thomas Spura Fix rpmlint: incorrect-fsf-address
"""
The Free Software Foundation address in this file seems to be outdated or
misspelled.  Ask upstream to update the address, or if this is a license file,
possibly the entire file with a new copy available from the FSF.
"""
Replacing it with the correct one.
e9b1ebb
Thomas Spura tomspur referenced this pull request from a commit July 31, 2011
Commit has since been removed from the repository and is no longer available.
Min RK
Owner

Why did you make all of the examples not executable? That doesn't seem right, since they are executable scripts.

Thomas Spura

rpmlint is complaining, because the executable files with /usr/bin/env will add a dependency to /usr/bin/env to the ipython-docs package.

I think, it's right to remove that dependency and run the example scripts with "python script.py" (running example scripts in /usr/share/doc is a bad idea anyway - later on...)

It's just more handy in ipython.git... I can understand your point :)

Consider it as a proposal, not as "the" fix ;)
Fixing the rest and letting the /usr/bin/env dependency, won't hurt much anyway...

Min RK
Owner

Fair enough. Then it sounds like the answer is to change permissions during whatever step stages to .../share/doc, but not the source examples themselves, since those should remain executable. Or maybe the examples should just be outside the docs dir in the first place. Does anybody actually look for examples in /usr/share/docs? Is it a normal thing to be putting code there?

Thomas Spura

Yes, that's the usual location for %doc files.
I prefer to look online for documentation and not /usr/share/doc/, but when you don't have internet connection, having them there is a good thing.

I don't think it makes sense to put them somewhere else. It would then be better to ignore the warnings from rpmlint about the doc-file-dependency and just look for the rest...

Fernando Perez
Owner

I don't want this one to go stale... So what's the final decision, @tomspur: do we leave the scripts executable and accept the dependency on env (probably something everybody haves, so it doesn't worry me at all), or do you want to make the changes so that the scripts get chmodded at install time? The latter is a lot more work, so I vote for the former.

Feel free to do a forced push that removes the commit making the chmod changes, rather than doing and undoing them.

Thomas Spura Fix rpmlint: non-executable-script
"""
This text file contains a shebang or is located in a path dedicated for
executables, but lacks the executable bits and cannot thus be executed.  If
the file is meant to be an executable script, add the executable bits,
otherwise remove the shebang or move the file elsewhere.
"""

Mostly deleting the shebang, but some files contain a __main__ function,
so make them executable.

This is the last commit of this series and:
Closes gh-647.
a8c5475
Thomas Spura

Although it doesn't look like it here, I did delete the commit about deleting the env dependency, so there are only three commmits in this pull request:
Fix rpmlint: spurious-executable-perm
Fix rpmlint: incorrect-fsf-address
Fix rpmlint: non-executable-script
@fperez: The first is a good decision :)

Fernando Perez
Owner

OK, these all look good. Wow, I didn't realize we had so many spurious executable files with usr/bin/env python in the library part! Thanks a lot for the cleanup...

I'll merge now.

Fernando Perez fperez merged commit 4ee2feb into from August 16, 2011
Fernando Perez fperez closed this August 16, 2011
Brian E. Granger ellisonbg referenced this pull request from a commit January 10, 2012
Commit has since been removed from the repository and is no longer available.
Fernando Perez fperez referenced this pull request from a commit January 10, 2012
Commit has since been removed from the repository and is no longer available.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Showing 3 unique commits by 1 author.

Jul 31, 2011
Thomas Spura Fix rpmlint: spurious-executable-perm
"""
The file is installed with executable permissions, but was identified as one
that probably should not be executable.  Verify if the executable bits are
desired, and remove if not.
"""
98f7126
Thomas Spura Fix rpmlint: incorrect-fsf-address
"""
The Free Software Foundation address in this file seems to be outdated or
misspelled.  Ask upstream to update the address, or if this is a license file,
possibly the entire file with a new copy available from the FSF.
"""
Replacing it with the correct one.
e9b1ebb
Aug 16, 2011
Thomas Spura Fix rpmlint: non-executable-script
"""
This text file contains a shebang or is located in a path dedicated for
executables, but lacks the executable bits and cannot thus be executed.  If
the file is meant to be an executable script, add the executable bits,
otherwise remove the shebang or move the file elsewhere.
"""

Mostly deleting the shebang, but some files contain a __main__ function,
so make them executable.

This is the last commit of this series and:
Closes gh-647.
a8c5475
This page is out of date. Refresh to see the latest.

Showing 46 changed files with 3 additions and 51 deletions. Show diff stats Hide diff stats

  1. 1  IPython/config/configurable.py
  2. 1  IPython/config/tests/test_configurable.py
  3. 1  IPython/config/tests/test_loader.py
  4. 1  IPython/core/alias.py
  5. 1  IPython/core/autocall.py
  6. 1  IPython/core/display_trap.py
  7. 3  IPython/core/error.py
  8. 1  IPython/core/ipapi.py
  9. 1  IPython/core/page.py
  10. 1  IPython/core/payloadpage.py
  11. 1  IPython/core/prefilter.py
  12. 1  IPython/core/shellapp.py
  13. 1  IPython/core/splitinput.py
  14. 1  IPython/core/tests/test_imports.py
  15. 1  IPython/extensions/parallelmagic.py
  16. 1  IPython/external/guid/_guid.py
  17. 6  IPython/external/ssh/forward.py
  18. 1  IPython/lib/__init__.py
  19. 1  IPython/lib/guisupport.py
  20. 1  IPython/lib/inputhook.py
  21. 1  IPython/lib/inputhookgtk.py
  22. 1  IPython/lib/inputhookwx.py
  23. 1  IPython/lib/tests/test_imports.py
  24. 1  IPython/parallel/apps/baseapp.py
  25. 1  IPython/parallel/apps/launcher.py
  26. 1  IPython/parallel/apps/logwatcher.py
  27. 1  IPython/parallel/apps/win32support.py
  28. 1  IPython/parallel/apps/winhpcjob.py
  29. 0  IPython/parallel/controller/heartmonitor.py
  30. 1  IPython/parallel/controller/hub.py
  31. 1  IPython/parallel/engine/engine.py
  32. 1  IPython/parallel/engine/streamkernel.py
  33. 3  IPython/quarantine/ipy_gnuglobal.py
  34. 3  IPython/quarantine/ipy_render.py
  35. 2  IPython/quarantine/ipy_workdir.py
  36. 0  IPython/testing/mkdoctests.py
  37. 1  IPython/testing/tests/test_tools.py
  38. 1  IPython/utils/ipstruct.py
  39. 1  IPython/utils/notification.py
  40. 1  IPython/utils/syspathcontext.py
  41. 1  IPython/utils/tests/test_traitlets.py
  42. 1  IPython/utils/traitlets.py
  43. 0  IPython/utils/upgradedir.py
  44. 1  IPython/zmq/kernelapp.py
  45. 1  IPython/zmq/session.py
  46. 0  docs/examples/core/seteditor.py
1  IPython/config/configurable.py
... ...
@@ -1,4 +1,3 @@
1  
-#!/usr/bin/env python
2 1
 # encoding: utf-8
3 2
 """
4 3
 A base class for objects that are configurable.
1  IPython/config/tests/test_configurable.py
... ...
@@ -1,4 +1,3 @@
1  
-#!/usr/bin/env python
2 1
 # encoding: utf-8
3 2
 """
4 3
 Tests for IPython.config.configurable
1  IPython/config/tests/test_loader.py
... ...
@@ -1,4 +1,3 @@
1  
-#!/usr/bin/env python
2 1
 # encoding: utf-8
3 2
 """
4 3
 Tests for IPython.config.loader
1  IPython/core/alias.py
... ...
@@ -1,4 +1,3 @@
1  
-#!/usr/bin/env python
2 1
 # encoding: utf-8
3 2
 """
4 3
 System command aliases.
1  IPython/core/autocall.py
... ...
@@ -1,4 +1,3 @@
1  
-#!/usr/bin/env python
2 1
 # encoding: utf-8
3 2
 """
4 3
 Autocall capabilities for IPython.core.
1  IPython/core/display_trap.py
... ...
@@ -1,4 +1,3 @@
1  
-#!/usr/bin/env python
2 1
 # encoding: utf-8
3 2
 """
4 3
 A context manager for handling sys.displayhook.
3  IPython/core/error.py
... ...
@@ -1,4 +1,3 @@
1  
-#!/usr/bin/env python
2 1
 # encoding: utf-8
3 2
 """
4 3
 Global exception classes for IPython.core.
@@ -49,4 +48,4 @@ class UsageError(IPythonCoreError):
49 48
     
50 49
     Something that probably won't warrant a full traceback, but should
51 50
     nevertheless interrupt a macro / batch file.   
52  
-    """
  51
+    """
1  IPython/core/ipapi.py
... ...
@@ -1,4 +1,3 @@
1  
-#!/usr/bin/env python
2 1
 # encoding: utf-8
3 2
 """
4 3
 This module is *completely* deprecated and should no longer be used for
1  IPython/core/page.py
... ...
@@ -1,4 +1,3 @@
1  
-#!/usr/bin/env python
2 1
 # encoding: utf-8
3 2
 """
4 3
 Paging capabilities for IPython.core
1  IPython/core/payloadpage.py
... ...
@@ -1,4 +1,3 @@
1  
-#!/usr/bin/env python
2 1
 # encoding: utf-8
3 2
 """
4 3
 A payload based version of page.
1  IPython/core/prefilter.py
... ...
@@ -1,4 +1,3 @@
1  
-#!/usr/bin/env python
2 1
 # encoding: utf-8
3 2
 """
4 3
 Prefiltering components.
1  IPython/core/shellapp.py
... ...
@@ -1,4 +1,3 @@
1  
-#!/usr/bin/env python
2 1
 # encoding: utf-8
3 2
 """
4 3
 A mixin for :class:`~IPython.core.application.Application` classes that
1  IPython/core/splitinput.py
... ...
@@ -1,4 +1,3 @@
1  
-#!/usr/bin/env python
2 1
 # encoding: utf-8
3 2
 """
4 3
 Simple utility for splitting user input.
1  IPython/core/tests/test_imports.py
... ...
@@ -1,4 +1,3 @@
1  
-#!/usr/bin/env python
2 1
 # encoding: utf-8
3 2
 
4 3
 def test_import_completer():
1  IPython/extensions/parallelmagic.py
... ...
@@ -1,4 +1,3 @@
1  
-#!/usr/bin/env python
2 1
 # encoding: utf-8
3 2
 
4 3
 """Magic command interface for interactive parallel work."""
1  IPython/external/guid/_guid.py
... ...
@@ -1,4 +1,3 @@
1  
-#!/usr/bin/env python
2 1
 # encoding: utf-8
3 2
 
4 3
 # GUID.py
6  IPython/external/ssh/forward.py
... ...
@@ -1,5 +1,3 @@
1  
-#!/usr/bin/env python
2  
-
3 1
 #
4 2
 # This file is adapted from a paramiko demo, and thus licensed under LGPL 2.1.
5 3
 # Original Copyright (C) 2003-2007  Robey Pointer <robeypointer@gmail.com>
@@ -17,7 +15,7 @@
17 15
 #
18 16
 # You should have received a copy of the GNU Lesser General Public License
19 17
 # along with Paramiko; if not, write to the Free Software Foundation, Inc.,
20  
-# 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA.
  18
+# 51 Franklin Street, Fifth Floor, Boston, MA  02111-1301  USA.
21 19
 
22 20
 """
23 21
 Sample script showing how to do local port forwarding over paramiko.
@@ -87,4 +85,4 @@ class SubHander (Handler):
87 85
     ForwardServer(('127.0.0.1', local_port), SubHander).serve_forever()
88 86
 
89 87
 
90  
-__all__ = ['forward_tunnel']
  88
+__all__ = ['forward_tunnel']
1  IPython/lib/__init__.py
... ...
@@ -1,4 +1,3 @@
1  
-#!/usr/bin/env python
2 1
 # encoding: utf-8
3 2
 """
4 3
 Extra capabilities for IPython
1  IPython/lib/guisupport.py
... ...
@@ -1,4 +1,3 @@
1  
-#!/usr/bin/env python
2 1
 # coding: utf-8
3 2
 """
4 3
 Support for creating GUI apps and starting event loops.
1  IPython/lib/inputhook.py
... ...
@@ -1,4 +1,3 @@
1  
-#!/usr/bin/env python
2 1
 # coding: utf-8
3 2
 """
4 3
 Inputhook management for GUI event loop integration.
1  IPython/lib/inputhookgtk.py
... ...
@@ -1,4 +1,3 @@
1  
-#!/usr/bin/env python
2 1
 # encoding: utf-8
3 2
 """
4 3
 Enable pygtk to be used interacive by setting PyOS_InputHook.
1  IPython/lib/inputhookwx.py
... ...
@@ -1,4 +1,3 @@
1  
-#!/usr/bin/env python
2 1
 # encoding: utf-8
3 2
 
4 3
 """
1  IPython/lib/tests/test_imports.py
... ...
@@ -1,4 +1,3 @@
1  
-#!/usr/bin/env python
2 1
 # encoding: utf-8
3 2
 
4 3
 def test_import_backgroundjobs():
1  IPython/parallel/apps/baseapp.py
... ...
@@ -1,4 +1,3 @@
1  
-#!/usr/bin/env python
2 1
 # encoding: utf-8
3 2
 """
4 3
 The Base Application class for IPython.parallel apps
1  IPython/parallel/apps/launcher.py
... ...
@@ -1,4 +1,3 @@
1  
-#!/usr/bin/env python
2 1
 # encoding: utf-8
3 2
 """
4 3
 Facilities for launching IPython processes asynchronously.
1  IPython/parallel/apps/logwatcher.py
... ...
@@ -1,4 +1,3 @@
1  
-#!/usr/bin/env python
2 1
 """
3 2
 A simple logger object that consolidates messages incoming from ipcluster processes.
4 3
 
1  IPython/parallel/apps/win32support.py
... ...
@@ -1,4 +1,3 @@
1  
-#!/usr/bin/env python
2 1
 """Utility for forwarding file read events over a zmq socket.
3 2
 
4 3
 This is necessary because select on Windows only supports sockets, not FDs.
1  IPython/parallel/apps/winhpcjob.py
... ...
@@ -1,4 +1,3 @@
1  
-#!/usr/bin/env python
2 1
 # encoding: utf-8
3 2
 """
4 3
 Job and task components for writing .xml files that the Windows HPC Server 
0  IPython/parallel/controller/heartmonitor.py 100644 → 100755
File mode changed
1  IPython/parallel/controller/hub.py
... ...
@@ -1,4 +1,3 @@
1  
-#!/usr/bin/env python
2 1
 """The IPython Controller Hub with 0MQ
3 2
 This is the master object that handles connections from engines and clients,
4 3
 and monitors traffic through the various queues.
1  IPython/parallel/engine/engine.py
... ...
@@ -1,4 +1,3 @@
1  
-#!/usr/bin/env python
2 1
 """A simple engine that talks to a controller over 0MQ.
3 2
 it handles registration, etc. and launches a kernel
4 3
 connected to the Controller's Schedulers.
1  IPython/parallel/engine/streamkernel.py
... ...
@@ -1,4 +1,3 @@
1  
-#!/usr/bin/env python
2 1
 """
3 2
 Kernel adapted from kernel.py to use ZMQ Streams
4 3
 
3  IPython/quarantine/ipy_gnuglobal.py
... ...
@@ -1,6 +1,3 @@
1  
-#!/usr/bin/env python
2  
-
3  
-
4 1
 """
5 2
 Add %global magic for GNU Global usage.
6 3
 
3  IPython/quarantine/ipy_render.py
... ...
@@ -1,5 +1,3 @@
1  
-#!/usr/bin/env python
2  
-
3 1
 """ IPython extension: Render templates from variables and paste to clipbard """
4 2
 
5 3
 from IPython.core import ipapi
@@ -65,4 +63,3 @@ def render(tmpl):
65 63
     return res
66 64
 
67 65
 ip.push('render')
68  
-    
2  IPython/quarantine/ipy_workdir.py
... ...
@@ -1,5 +1,3 @@
1  
-#!/usr/bin/env python
2  
-
3 1
 from IPython.core import ipapi
4 2
 ip = ipapi.get()
5 3
 
0  IPython/testing/mkdoctests.py 100644 → 100755
File mode changed
1  IPython/testing/tests/test_tools.py
... ...
@@ -1,4 +1,3 @@
1  
-#!/usr/bin/env python
2 1
 # encoding: utf-8
3 2
 """
4 3
 Tests for testing.tools
1  IPython/utils/ipstruct.py
... ...
@@ -1,4 +1,3 @@
1  
-#!/usr/bin/env python
2 1
 # encoding: utf-8
3 2
 """A dict subclass that supports attribute style access.
4 3
 
1  IPython/utils/notification.py
... ...
@@ -1,4 +1,3 @@
1  
-#!/usr/bin/env python
2 1
 # encoding: utf-8
3 2
 """
4 3
 The IPython Core Notification Center.
1  IPython/utils/syspathcontext.py
... ...
@@ -1,4 +1,3 @@
1  
-#!/usr/bin/env python
2 1
 # encoding: utf-8
3 2
 """
4 3
 Context managers for adding things to sys.path temporarily.
1  IPython/utils/tests/test_traitlets.py
... ...
@@ -1,4 +1,3 @@
1  
-#!/usr/bin/env python
2 1
 # encoding: utf-8
3 2
 """
4 3
 Tests for IPython.utils.traitlets.
1  IPython/utils/traitlets.py
... ...
@@ -1,4 +1,3 @@
1  
-#!/usr/bin/env python
2 1
 # encoding: utf-8
3 2
 """
4 3
 A lightweight Traits like module.
0  IPython/utils/upgradedir.py 100644 → 100755
File mode changed
1  IPython/zmq/kernelapp.py
... ...
@@ -1,4 +1,3 @@
1  
-#!/usr/bin/env python
2 1
 """An Application for launching a kernel
3 2
 
4 3
 Authors
1  IPython/zmq/session.py
... ...
@@ -1,4 +1,3 @@
1  
-#!/usr/bin/env python
2 1
 """Session object for building, serializing, sending, and receiving messages in
3 2
 IPython. The Session object supports serialization, HMAC signatures, and
4 3
 metadata on messages.
0  docs/examples/core/seteditor.py 100755 → 100644
File mode changed
Commit_comment_tip

Tip: You can add notes to lines in a file. Hover to the left of a line to make a note

Something went wrong with that request. Please try again.