diff --git a/pyinstaller.spec b/pyinstaller.spec index eece50757..01b1ac4ac 100644 --- a/pyinstaller.spec +++ b/pyinstaller.spec @@ -36,6 +36,7 @@ hidden_imports = [ 'allmydata.stats', 'base64', 'cffi', + 'charset_normalizer.md__mypyc', 'collections', 'commands', 'Crypto', diff --git a/setup.py b/setup.py index f867e901d..1974145cb 100644 --- a/setup.py +++ b/setup.py @@ -147,13 +147,6 @@ install_requires = [ # for pid-file support "psutil", "filelock", - - # treq needs requests, requests needs charset_normalizer, - # charset_normalizer breaks PyInstaller - # (https://github.com/Ousret/charset_normalizer/issues/253). So work around - # this by using a lower version number. Once upstream issue is fixed, or - # requests drops charset_normalizer, this can go away. - "charset_normalizer < 3", ] setup_requires = [