Skip to content

Commit

Permalink
Update requirements.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
drew2a committed Mar 30, 2022
1 parent 111514d commit 0d0dc6f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 47 deletions.
45 changes: 0 additions & 45 deletions doc/development/development_on_osx.rst
Original file line number Diff line number Diff line change
Expand Up @@ -18,51 +18,6 @@ If you wish to run the Tribler Graphical User Interface, PyQt5 should be availab
qmake --version # test whether qt is installed correctly
Libtorrent
~~~~~~~~~~

You can install libtorrent with Brew using the following command:

.. code-block:: bash
brew install libtorrent-rasterbar
To verify a correct installation, you can execute:

.. code-block:: bash
python3
>>> import libtorrent
**Symbol not found: _kSCCompAnyRegex** error

If you see `Symbol not found: _kSCCompAnyRegex` error, then follow
https://github.com/Homebrew/homebrew-core/pull/43858 for the explanation.

You can build libtorrent by yourself: http://libtorrent.org/python_binding.html
or by using this workaround from PR:

1. Edit brew formula:

.. code-block:: bash
brew edit libtorrent-rasterbar
2. Add on the top of the `install` function `ENV.append` string as described below:

.. code-block:: bash
def install
ENV.append "LDFLAGS", "-framework SystemConfiguration -framework CoreFoundation"
3. Build `libtorrent-rasterbar` from source:

.. code-block:: bash
brew install libtorrent-rasterbar --build-from-source
Other Packages
~~~~~~~~~~~~~~
Expand Down
5 changes: 3 additions & 2 deletions requirements-core.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
aiohttp==3.8.1
aiohttp-apispec==2.2.1
aiohttp-apispec==2.2.3 # keep this higher or equal to 2.2.3 https://githubhot.com/repo/maximdanilchenko/aiohttp-apispec/issues/122
anyio==3.3.4
chardet==4.0.0
configobj==5.0.6
Expand All @@ -23,4 +23,5 @@ yappi==1.3.3
yarl==1.7.2 # keep this dependency higher than 1.6.3. See: https://github.com/aio-libs/yarl/issues/517
Faker==9.8.2
sentry-sdk==1.5.0
pyipv8==2.8.0
pyipv8==2.8.0
libtorrent==1.2.15; os_name=='posix'

0 comments on commit 0d0dc6f

Please sign in to comment.