Commit 332a5c25 authored by Link Mauve's avatar Link Mauve
Browse files

Move the src directory to poezio, for better cython compatibility.

parent cf44cf7c
......@@ -13,7 +13,7 @@ clean:
rm -rf poezio.egg-info
rm -rf dist
rm -rf build
rm -f src/*.so
rm -f poezio/*.so
install: all
python3 setup.py install --root=$(DESTDIR) --optimize=1
......
......@@ -15,7 +15,7 @@
import sys, os, time
sys.path.insert(0, os.path.abspath('../stub'))
sys.path.append(os.path.abspath('../../src/'))
sys.path.append(os.path.abspath('../../poezio/'))
sys.path.append(os.path.abspath('../../plugins/'))
# If extensions (or modules to document with autodoc) are in another directory,
......
......@@ -249,7 +249,7 @@ To know exactly what the code of a key is, just run
.. code-block:: bash
python3 src/keyboard.py
python3 poezio/keyboard.py
And enter any key.
......
......@@ -25,5 +25,5 @@ else
fi
$PYTHON3 -c 'import sys;(print("Python 3.4 or newer is required") and exit(1)) if sys.version_info < (3, 4) else exit(0)' || exit 1
exec "$PYTHON3" "$poezio_dir/src/poezio.py" -v "$args" "$@"
exec "$PYTHON3" "$poezio_dir/poezio/poezio.py" -v "$args" "$@"
......@@ -76,7 +76,7 @@ Options
Set the default browser started by the plugin
.. _Unix FIFO: https://en.wikipedia.org/wiki/Named_pipe
.. _daemon.py: http://dev.louiz.org/projects/poezio/repository/revisions/master/raw/src/daemon.py
.. _daemon.py: http://dev.louiz.org/projects/poezio/repository/revisions/master/raw/poezio/daemon.py
"""
import platform
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment