Commits

Ali Gholami Rudi  committed 5675d24

pymacs: added the patch for pymacs on python2.5

  • Participants
  • Parent commits 5698224

Comments (0)

Files changed (3)

 include README.txt COPYING setup.py MANIFEST.in
 include docs/contributing.txt docs/done.txt docs/index.txt
 include ropemacs.py
+include docs/pymacs_python25.patch
 Setting Up
 ==========
 
+You can get Pymacs from http://www.iro.umontreal.ca/~pinard/pymacs/.
+But version 0.22 does not work with Python 2.5 because of the lack of
+file encoding declarations.  A simple patch is included:
+``docs/pymacs_python25.patch``.
+
 After installing pymacs, add these lines to your ``~/.emacs`` file::
 
   (load-library "pymacs")

File docs/pymacs_python25.patch

+--- a/Pymacs/Rebox/rebox.py
++++ b/Pymacs/Rebox/rebox.py
+@@ -1,4 +1,5 @@
+ #!/usr/bin/env python
++# -*- coding: latin-1 -*-
+ # Copyright � 1991-1998, 2000, 2002 Progiciels Bourbeau-Pinard inc.
+ # Fran�ois Pinard <pinard@iro.umontreal.ca>, April 1991.
+ 
+--- a/Pymacs/__init__.py
++++ b/Pymacs/__init__.py
+@@ -1,4 +1,5 @@
+ #!/usr/bin/env python
++# -*- coding: latin-1 -*-
+ # Copyright � 2002, 2003 Progiciels Bourbeau-Pinard inc.
+ # Fran�ois Pinard <pinard@iro.umontreal.ca>, 2002.
+ 
+--- a/Pymacs/pymacs.py
++++ b/Pymacs/pymacs.py
+@@ -1,3 +1,4 @@
+ #!/usr/bin/env python
++# -*- coding: latin-1 -*-
+ # Copyright � 2001, 2002, 2003 Progiciels Bourbeau-Pinard inc.
+ # Fran�ois Pinard <pinard@iro.umontreal.ca>, 2001.