You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.rst
+11-28Lines changed: 11 additions & 28 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -20,14 +20,11 @@ dependency parsing. The tool itself is implemented in C++
20
20
Installation
21
21
----------------
22
22
23
-
Linux
24
-
~~~~~~~~~~
25
-
26
-
On modern Linux distributions, we recommend you use a Python virtual environment and install using ``pip``::
23
+
We recommend you use a Python virtual environment and install using ``pip``::
27
24
28
25
pip install python-frog
29
26
30
-
When possible on your system (glibc >= 2.28, x86_64), this will install the binary
27
+
When possible on your system, this will install the binary
31
28
Python wheels *that include Frog and all necessary dependencies* **except for**
32
29
frogdata. To download and install the data (in ``~/.config/frog``) you then only need to
33
30
run the following once::
@@ -38,35 +35,21 @@ If you want language detection support, ensure you the have `libexttextcat`
38
35
package (if provided by your distribution) installed prior to executing the
39
36
above command.
40
37
41
-
If the binary wheels are not available for your distribution, you will need to first install Frog yourself.
42
-
43
-
Alpine Linux
44
-
~~~~~~~~~~~~~~
45
-
46
-
First install Cython and Frog (``apk add cython frog frog-dev``), then ``pip install python-frog`` (preferably in a Python virtual environment)
47
-
48
-
Arch Linux
49
-
~~~~~~~~~~~~~~
50
-
51
-
You can alternatively use the `AUR package <https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=python-frog-git>`_ .
38
+
If the binary wheels are not available for your system, you will need to first
39
+
install `Frog <https://github.com/LanguageMachines/frog>`_ yourself and then
40
+
run ``pip install python-frog`` to install this python binding, it will then be
41
+
compiled from source. The following instructions apply in that case:
52
42
43
+
On Arch Linux, you can alternatively use the `AUR package <https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=python-frog-git>`_ .
53
44
54
-
macOS
55
-
~~~~~~~~
56
-
57
-
First use `homebrew <https://brew.sh/>`_ to install `Frog <https://languagemachines.github.io/frog>`_::
45
+
On macOS; first use `homebrew <https://brew.sh/>`_ to install `Frog <https://languagemachines.github.io/frog>`_::
58
46
59
47
brew tap fbkarsdorp/homebrew-lamachine
60
-
brew install frog
61
-
62
-
Then install this binding using ``pip`` (preferably in a Python virtual environment)::
63
-
64
-
pip install python-frog
48
+
brew install ucto
65
49
66
-
Windows
67
-
~~~~~~~~~~
50
+
On Alpine Linux, run: ``apk add cython frog frog-dev``
68
51
69
-
Not supported natively, but you should be able to use the Frog python binding if you use WSL, or using Docker containers (see below).
52
+
Windows is not supported natively at all, but you should be able to use the Ucto python binding if you use WSL, or using Docker containers (see below).
0 commit comments