Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Move pyflakes.vim into ftplugin/python for pathogen compatibility.

  • Loading branch information...
commit 086d5e1d5f87f7cdd0588f8149bf08115a8ae229 1 parent 0c9c83b
@kevinw authored
View
20 README.rst
@@ -26,22 +26,24 @@ Quick Installation
2. Download the latest release_.
-3. Unzip ``pyflakes.vim`` and the ``pyflakes`` directory into
+3. If you're using pathogen_, unzip the contents of ``pyflakes-vim.zip`` into
+ its own bundle directory, i.e. into ``~/.vim/bundle/pyflakes-vim/``.
+
+ Otherwise unzip ``pyflakes.vim`` and the ``pyflakes`` directory into
``~/.vim/ftplugin/python`` (or somewhere similar on your
`runtime path`_ that will be sourced for Python files).
.. _release: http://www.vim.org/scripts/script.php?script_id=2441
+.. _pathogen: http://www.vim.org/scripts/script.php?script_id=2332
.. _runtime path: http://vimdoc.sourceforge.net/htmldoc/options.html#'runtimepath'
-Installation
-------------
-
-If you downloaded this from vim.org_, then just drop the contents of the zip
-file into ``~/.vim/ftplugin/python``.
+Running from source
+-------------------
-Otherwise, if you're running "from source," you'll need PyFlakes on your
-PYTHONPATH somewhere. I recommend getting my PyFlakes_ fork, which retains
-column number information, giving more specific error locations.
+If you're running pyflakes-vim "from source," you'll need the PyFlakes library
+on your PYTHONPATH somewhere. (It is included in the vim.org zipfile.) I recommend
+getting my PyFlakes_ fork, which retains column number information, giving more
+specific error locations.
.. _vim.org: http://www.vim.org/scripts/script.php?script_id=2441
.. _PyFlakes: http://github.com/kevinw/pyflakes
View
0  pyflakes.vim → ftplugin/python/pyflakes.vim
File renamed without changes
View
3  makerelease.py
@@ -8,7 +8,8 @@
BUNDLE_FILENAME = 'pyflakes-vim.zip'
def get_directory():
- return os.path.abspath(os.path.dirname(__file__))
+ return os.path.join(
+ os.path.abspath(os.path.dirname(__file__)))
def include_dir(d):
return not any((d.startswith('.git'),

1 comment on commit 086d5e1

@jazeltq

please write clearly how to install pyflakes in my box, i have no idear what u are saying

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