Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update requirements.txt #6839

Merged
merged 3 commits into from
Apr 4, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .pylintrc
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ unsafe-load-any-extension=no
# A comma-separated list of package or module names from where C extensions may
# be loaded. Extensions are loading into the active Python interpreter and may
# run arbitrary code
extension-pkg-whitelist=libtorrent,PyQt5
extension-pkg-whitelist=PyQt5

# Allow optimization of some AST trees. This will activate a peephole AST
# optimizer, which will apply various small optimizations. For instance, it can
Expand Down
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
3 changes: 2 additions & 1 deletion requirements-core.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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