Skip to content
Browse files

Update the relase (CHANGES and setup.py), and details after the pull

request:
 * Little changes in the readme
 * Bad refactor the jste_plugins/autocomplete.py
 * pep8 and pyflakes errors
  • Loading branch information...
1 parent 1f29056 commit 5dfa81f2f9abad4110beaf5afc5e9871232b2a2f @goinnn committed Aug 18, 2012
View
9 CHANGES
@@ -1,6 +1,15 @@
Releases
========
+0.1.6 (2012-08-18)
+-------------------
+
+* Fix for autocomplete in the last KDE
+* Restructuring of menus
+* Refactor
+* Thank you to <https://github.com/phrearch Jeroen van Veen>`_ to the changes
+
+
0.1.5 (2012-07-09)
-------------------
View
29 README.rst
@@ -13,11 +13,17 @@ Requirements
============
* `Pâté <https://github.com/pag/pate/>`_
+ * Extra dependencies for extra and super nice features. Optional, but **very recomended** :)
+ * `pysmell <http://pypi.python.org/pypi/pysmell>`_
+ * `pyplete <http://pypi.python.org/pypi/pyplete>`_
+ * `pyflakes <http://pypi.python.org/pypi/pyflakes>`_
+ * `pyjslint <http://pypi.python.org/pypi/pyjslint>`_
+ * `simplejson <http://pypi.python.org/pypi/simplejson>`_
Installation
============
-* Install Pate
+* `Install Pate <https://github.com/pag/pate/blob/master/INSTALL.txt>`_:
::
@@ -31,13 +37,28 @@ Installation
export PYTHONPATH=$PYTHONPATH:/usr/share/apps/kate/plugins/pate/
#add the environment above to /etc/profile to make it stick on reboot
-* Install Kate-plugins
+* Install optional requirements:
+
+::
+
+ # Kate plugins has been tested with these versions but is very probably that works with later versions
+ pip install pysmell==0.7.3 pyplete==0.0.1 pep8==0.6.1 pyflakes==0.5.0 pyjslint==0.3.3 simplejson==2.6.1
+
+
+* Install Kate-plugins:
+
+
+
+::
+ pip install Kate-plugins
+ ln -s /PATH/OF/THE/EGG/kate_plugins/ $(kde4-config --localprefix)/share/apps/kate/pate
+
+Or
::
cd ~/build
- pip install pysmell pyplete pep8 pyflakes pyjslint simplejson
- git clone https://github.com/phrearch/Kate-plugins
+ git clone https://github.com/goinnn/Kate-plugins
ln -s ~/build/Kate-plugins/kate_plugins/ $(kde4-config --localprefix)/share/apps/kate/pate
* Startup Kate and enable Pate in Settings > Configure Kate > Plugins
View
4 kate_plugins/jste_plugins/autocomplete.py
@@ -27,7 +27,7 @@
class StaticJSCodeCompletionModel(AbstractJSONFileCodeCompletionModel):
MIMETYPES = ['application/javascript', 'text/html']
- TITLE_AUTOCOMPLETATION = "JS Auto Complete"
+ TITLE_AUTOCOMPLETION = "JS Auto Complete"
# generated with jste_plugins/autocomplete_js.gen
FILE_PATH = 'jste_plugins/autocomplete_js.json'
OPERATORS = ["=", " ", "[", "]", "(", ")", "{", "}", ":", ">", "<",
@@ -46,7 +46,7 @@ def getLastExpression(self, line, operators=None):
class StaticJQueryCompletionModel(StaticJSCodeCompletionModel):
- TITLE_AUTOCOMPLETATION = "jQuery Auto Complete"
+ TITLE_AUTOCOMPLETION = "jQuery Auto Complete"
FILE_PATH = 'jste_plugins/autocomplete_jquery.json'
def __init__(self, *args, **kwargs):
View
4 kate_plugins/kate_core_plugins.py
@@ -109,8 +109,8 @@ def findMenu(menu_parent_slug):
if str(menu.objectName()) == menu_parent_slug:
return menu
return None
-
-
+
+
def create_mainmenu(name_menu, slug_menu):
window = kate.mainWindow()
menubar = window.findChildren(QtGui.QMenuBar)[0]
View
2 kate_plugins/kate_plugins.py
@@ -13,6 +13,7 @@
#
# You should have received a copy of the GNU Lesser General Public License
# along with this software. If not, see <http://www.gnu.org/licenses/>.
+
from jste_plugins.autocomplete import *
from jste_plugins.jquery_plugins import *
from jste_plugins.json_plugins import *
@@ -46,4 +47,3 @@
pass
from xhtml_plugins.xml_plugins import *
-
View
1 kate_plugins/pyte_plugins/autocomplete/autocomplete.py
@@ -35,6 +35,7 @@
pyplete = None
python_path = []
+
class PythonCodeCompletionModel(AbstractCodeCompletionModel):
TITLE_AUTOCOMPLETION = "Python Auto Complete"
View
14 setup.py
@@ -24,7 +24,7 @@ def read(*rnames):
setup(
name='Kate-plugins',
- version="0.1.5",
+ version="0.1.6",
description="Plugins to Kate editor to develop faster python projects, django projects and something of javascript",
long_description=(read('README.rst') + '\n\n' + read('CHANGES')),
author="Pablo Martin",
@@ -40,12 +40,12 @@ def read(*rnames):
"Topic :: Software Development",
],
install_requires=[
- "pysmell ==0.7.3",
- "pep8 ==0.6.1",
- "pyflakes ==0.5.0",
- "pyjslint ==0.3.3",
- "pyplete >= 0.0.1",
- "simplejson"
+ "pysmell==0.7.3",
+ "pep8==0.6.1",
+ "pyflakes==0.5.0",
+ "pyjslint==0.3.3",
+ "pyplete==0.0.1",
+ "simplejson==2.6.1"
],
packages=('kate_plugins', ),
keywords="kate,pate,plugins,kate plugins,pate plugins,python,autocomplete,autocomplete python,django,jquery,js,checker,pep8,pyflakes,jslint",

0 comments on commit 5dfa81f

Please sign in to comment.
Something went wrong with that request. Please try again.