python-pillow / Pillow

Python Imaging Library (Fork)
https://python-pillow.org
Other
12.22k stars 2.22k forks source link

Error including Pillow as Homebrew recipe dependance #3959

Closed bglezseoane closed 5 years ago

bglezseoane commented 5 years ago

Some of my self maintained programs use Pillow and Homebrew tap recipes are a very useful installation method. However, it is impossible for me to do because Homebrew fails when try to install a Pillow isolate version to an individual program use.

Example of a recipe which uses Pillow:

class Monoshape < Formula
    include Language::Python::Virtualenv

    desc "Extracts monochromatic shapes"
    homepage "https://github.com/GlezSeoane/monoshape"
    url "https://github.com/GlezSeoane/monoshape/archive/v1.0.tar.gz"
    sha256 "6edbecfc60db6f91fba6e520769f811009743eec89d655c54e4e6006ad5b0dbb"

    depends_on "python"

    resource "filetype" do
        url "https://files.pythonhosted.org/packages/e8/53/298887541ae479f8467d4d23e028c6d15f9811da25c582297fd3869666b7/filetype-1.0.5.tar.gz"
        sha256 "17a3b885f19034da29640b083d767e0f13c2dcb5dcc267945c8b6e5a5a9013c7"
    end

    resource "Pillow" do
        url "https://files.pythonhosted.org/packages/51/fe/18125dc680720e4c3086dd3f5f95d80057c41ab98326877fc7d3ff6d0ee5/Pillow-6.1.0.tar.gz"
        sha256 "0804f77cb1e9b6dbd37601cee11283bba39a8d44b9ddb053400c58e0c0d7d9de"
    end

    def install
        virtualenv_install_with_resources
        man1.install "manpages/monoshape.1"
    end

    test do
        system "python", "-c", "'import monoshape.__main__'"
    end
end

Homebrew error output:

$ brew reinstall --verbose --debug ./Formula/monoshape.rb
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::FromPathLoader): loading /Users/glezseoane/Developer/Projects/Personal/homebrew-tap/Formula/monoshape.rb
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::FormulaLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/python.rb
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::FormulaLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/pkg-config.rb
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::FormulaLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/gdbm.rb
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::FormulaLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/openssl.rb
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::FormulaLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/readline.rb
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::FormulaLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/sqlite.rb
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::FormulaLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/xz.rb
==> Reinstalling monoshape
/usr/bin/sandbox-exec -f /private/tmp/homebrew20190708-31028-2osx5o.sb nice /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/bin/ruby -W0 -I /usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.3.0/gems/simplecov-cobertura-1.3.1/lib:/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.3.0/gems/ruby-macho-2.2.0/lib:/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.3.0/gems/rubocop-rspec-1.33.0/lib:/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.3.0/gems/rubocop-performance-1.4.0/lib:/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.3.0/gems/rubocop-0.72.0/lib:/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.3.0/gems/unicode-display_width-1.6.0/lib:/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.3.0/gems/ruby-progressbar-1.10.1/lib:/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.3.0/gems/rspec-wait-0.0.9/lib:/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.3.0/gems/rspec-retry-0.6.1/lib:/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.3.0/gems/rspec-its-1.3.0/lib:/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.3.0/gems/rspec-3.8.0/lib:/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.3.0/gems/rspec-mocks-3.8.1/lib:/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.3.0/gems/rspec-expectations-3.8.4/lib:/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.3.0/gems/rspec-core-3.8.1/lib:/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.3.0/gems/rspec-support-3.8.2/lib:/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.3.0/gems/ronn-0.7.3/lib:/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.3.0/gems/rdiscount-2.2.0.1/lib:/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.3.0/extensions/universal-darwin-18/2.3.0/rdiscount-2.2.0.1:/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.3.0/gems/rainbow-3.0.0/lib:/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.3.0/gems/plist-3.5.0/lib:/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.3.0/gems/parser-2.6.3.0/lib:/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.3.0/gems/parallel_tests-2.29.1/lib:/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.3.0/gems/parallel-1.17.0/lib:/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.3.0/gems/mustache-1.1.0/lib:/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.3.0/gems/mechanize-2.7.6/lib:/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.3.0/gems/webrobots-0.1.2/lib:/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.3.0/gems/ntlm-http-0.1.1/lib:/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.3.0/gems/nokogiri-1.10.3/lib:/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.3.0/extensions/universal-darwin-18/2.3.0/nokogiri-1.10.3:/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.3.0/gems/mini_portile2-2.4.0/lib:/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.3.0/gems/net-http-persistent-3.0.1/lib:/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.3.0/gems/net-http-digest_auth-1.4.1/lib:/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.3.0/gems/mime-types-3.2.2/lib:/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.3.0/gems/mime-types-data-3.2019.0331/lib:/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.3.0/gems/jaro_winkler-1.5.3/lib:/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.3.0/extensions/universal-darwin-18/2.3.0/jaro_winkler-1.5.3:/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.3.0/gems/http-cookie-1.0.3/lib:/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.3.0/gems/hpricot-0.8.6/lib:/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.3.0/extensions/universal-darwin-18/2.3.0/hpricot-0.8.6:/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.3.0/gems/domain_name-0.5.20180417/lib:/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.3.0/gems/unf-0.1.4/lib:/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.3.0/gems/unf_ext-0.0.7.6/lib:/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.3.0/extensions/universal-darwin-18/2.3.0/unf_ext-0.0.7.6:/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.3.0/gems/diff-lcs-1.3/lib:/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.3.0/gems/coveralls-0.8.23/lib:/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.3.0/gems/thor-0.20.3/lib:/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.3.0/gems/term-ansicolor-1.7.1/lib:/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.3.0/gems/tins-1.20.3/lib:/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.3.0/gems/simplecov-0.16.1/lib:/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.3.0/gems/simplecov-html-0.10.2/lib:/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.3.0/gems/docile-1.3.2/lib:/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.3.0/gems/json-2.2.0/lib:/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.3.0/extensions/universal-darwin-18/2.3.0/json-2.2.0:/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.3.0/gems/connection_pool-2.2.2/lib:/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/:/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.3.0/gems/backports-3.15.0/lib:/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.3.0/gems/ast-2.4.0/lib:/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.3.0/gems/activesupport-5.2.3/lib:/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.3.0/gems/tzinfo-1.2.5/lib:/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.3.0/gems/thread_safe-0.3.6/lib:/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.3.0/gems/minitest-5.11.3/lib:/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.3.0/gems/i18n-1.6.0/lib:/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.3.0/gems/concurrent-ruby-1.1.5/lib:/Library/Ruby/Site/2.3.0:/Library/Ruby/Site/2.3.0/x86_64-darwin18:/Library/Ruby/Site/2.3.0/universal-darwin18:/Library/Ruby/Site:/System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/vendor_ruby/2.3.0:/System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/vendor_ruby/2.3.0/x86_64-darwin18:/System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/vendor_ruby/2.3.0/universal-darwin18:/System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/vendor_ruby:/System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/2.3.0:/System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/2.3.0/x86_64-darwin18:/System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/2.3.0/universal-darwin18:/usr/local/Homebrew/Library/Homebrew -- /usr/local/Homebrew/Library/Homebrew/build.rb /Users/glezseoane/Developer/Projects/Personal/homebrew-tap/Formula/monoshape.rb --verbose --debug
/usr/local/Homebrew/Library/Homebrew/build.rb (Formulary::FromPathLoader): loading /Users/glezseoane/Developer/Projects/Personal/homebrew-tap/Formula/monoshape.rb
/usr/local/Homebrew/Library/Homebrew/build.rb (Formulary::FormulaLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/python.rb
/usr/local/Homebrew/Library/Homebrew/build.rb (Formulary::FormulaLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/gdbm.rb
/usr/local/Homebrew/Library/Homebrew/build.rb (Formulary::FormulaLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/openssl.rb
/usr/local/Homebrew/Library/Homebrew/build.rb (Formulary::FormulaLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/readline.rb
/usr/local/Homebrew/Library/Homebrew/build.rb (Formulary::FormulaLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/sqlite.rb
/usr/local/Homebrew/Library/Homebrew/build.rb (Formulary::FormulaLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/xz.rb
/usr/local/Homebrew/Library/Homebrew/build.rb (Formulary::FormulaLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/pkg-config.rb
==> Downloading https://github.com/GlezSeoane/monoshape/archive/v1.0.tar.gz
/usr/bin/curl -q --show-error --user-agent Homebrew/2.1.7\ \(Macintosh\;\ Intel\ Mac\ OS\ X\ 10.14.5\)\ curl/7.54.0 --location --silent --head --request GET https://github.com/GlezSeoane/monoshape/archive/v1.0.tar.gz
Already downloaded: /Users/glezseoane/Library/Caches/Homebrew/downloads/62c94e6bcc8f4975e653a82d370daa344936e5ff3007a1dc79246335c4fa67cb--monoshape-1.0.tar.gz
==> Verifying 62c94e6bcc8f4975e653a82d370daa344936e5ff3007a1dc79246335c4fa67cb--monoshape-1.0.tar.gz checksum
tar xof /Users/glezseoane/Library/Caches/Homebrew/downloads/62c94e6bcc8f4975e653a82d370daa344936e5ff3007a1dc79246335c4fa67cb--monoshape-1.0.tar.gz -C /private/tmp/d20190708-31029-nvmrdy
cp -pR /private/tmp/d20190708-31029-nvmrdy/monoshape-1.0/. /private/tmp/monoshape-20190708-31029-12epnpm/monoshape-1.0
chmod -Rf +w /private/tmp/d20190708-31029-nvmrdy
==> Downloading https://files.pythonhosted.org/packages/37/27/706af3ee62032933a3217454609c50a5325a6bd9c2c2f495b58c456ba286/virtualenv-16.6.1.tar.gz
/usr/bin/curl -q --show-error --user-agent Homebrew/2.1.7\ \(Macintosh\;\ Intel\ Mac\ OS\ X\ 10.14.5\)\ curl/7.54.0 --location --silent --head --request GET https://files.pythonhosted.org/packages/37/27/706af3ee62032933a3217454609c50a5325a6bd9c2c2f495b58c456ba286/virtualenv-16.6.1.tar.gz
Already downloaded: /Users/glezseoane/Library/Caches/Homebrew/downloads/3c930834dac51edb05b7f34f88664cf348741680c6b1d860dc7ddc084d5b17eb--virtualenv-16.6.1.tar.gz
==> Verifying 3c930834dac51edb05b7f34f88664cf348741680c6b1d860dc7ddc084d5b17eb--virtualenv-16.6.1.tar.gz checksum
tar xof /Users/glezseoane/Library/Caches/Homebrew/downloads/3c930834dac51edb05b7f34f88664cf348741680c6b1d860dc7ddc084d5b17eb--virtualenv-16.6.1.tar.gz -C /private/tmp/d20190708-31029-16bcs4n
cp -pR /private/tmp/d20190708-31029-16bcs4n/virtualenv-16.6.1/. /private/tmp/monoshape--homebrew-virtualenv-20190708-31029-1318j1e/virtualenv-16.6.1
chmod -Rf +w /private/tmp/d20190708-31029-16bcs4n
==> python3 -c import setuptools... --no-user-cfg install --prefix=/private/tmp/monoshape--homebrew-virtualenv-20190708-31029-1318j1e/target --install-scripts=/private/tmp/monoshape--homebrew-virtualenv-20190708-31029-1318j1e/target/bin --single-version-externally-managed --record=installed.txt
running install
running build
running build_py
creating build
creating build/lib
copying virtualenv.py -> build/lib
creating build/lib/virtualenv_support
copying virtualenv_support/__init__.py -> build/lib/virtualenv_support
running egg_info
writing virtualenv.egg-info/PKG-INFO
writing dependency_links to virtualenv.egg-info/dependency_links.txt
writing entry points to virtualenv.egg-info/entry_points.txt
writing requirements to virtualenv.egg-info/requires.txt
writing top-level names to virtualenv.egg-info/top_level.txt
reading manifest file 'virtualenv.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no previously-included files found matching 'readthedocs.yml'
warning: no previously-included files found matching 'CONTRIBUTING.rst'
warning: no previously-included files found matching '.pre-commit-config.yaml'
warning: no previously-included files found matching 'azure-run-tox-env.yml'
warning: no previously-included files found matching 'azure-pipelines.yml'
warning: no previously-included files found matching '.gitignore'
warning: no previously-included files found matching '.gitattributes'
warning: no previously-included files matching '*' found under directory '.github'
writing manifest file 'virtualenv.egg-info/SOURCES.txt'
copying virtualenv_support/pip-19.1.1-py2.py3-none-any.whl -> build/lib/virtualenv_support
copying virtualenv_support/setuptools-41.0.1-py2.py3-none-any.whl -> build/lib/virtualenv_support
copying virtualenv_support/wheel-0.33.4-py2.py3-none-any.whl -> build/lib/virtualenv_support
running install_lib
creating /private/tmp/monoshape--homebrew-virtualenv-20190708-31029-1318j1e/target/lib/python3.7/site-packages/virtualenv_support
copying build/lib/virtualenv_support/setuptools-41.0.1-py2.py3-none-any.whl -> /private/tmp/monoshape--homebrew-virtualenv-20190708-31029-1318j1e/target/lib/python3.7/site-packages/virtualenv_support
copying build/lib/virtualenv_support/wheel-0.33.4-py2.py3-none-any.whl -> /private/tmp/monoshape--homebrew-virtualenv-20190708-31029-1318j1e/target/lib/python3.7/site-packages/virtualenv_support
copying build/lib/virtualenv_support/__init__.py -> /private/tmp/monoshape--homebrew-virtualenv-20190708-31029-1318j1e/target/lib/python3.7/site-packages/virtualenv_support
copying build/lib/virtualenv_support/pip-19.1.1-py2.py3-none-any.whl -> /private/tmp/monoshape--homebrew-virtualenv-20190708-31029-1318j1e/target/lib/python3.7/site-packages/virtualenv_support
copying build/lib/virtualenv.py -> /private/tmp/monoshape--homebrew-virtualenv-20190708-31029-1318j1e/target/lib/python3.7/site-packages
byte-compiling /private/tmp/monoshape--homebrew-virtualenv-20190708-31029-1318j1e/target/lib/python3.7/site-packages/virtualenv_support/__init__.py to __init__.cpython-37.pyc
byte-compiling /private/tmp/monoshape--homebrew-virtualenv-20190708-31029-1318j1e/target/lib/python3.7/site-packages/virtualenv.py to virtualenv.cpython-37.pyc
running install_egg_info
Copying virtualenv.egg-info to /private/tmp/monoshape--homebrew-virtualenv-20190708-31029-1318j1e/target/lib/python3.7/site-packages/virtualenv-16.6.1-py3.7.egg-info
running install_scripts
Installing virtualenv script to /private/tmp/monoshape--homebrew-virtualenv-20190708-31029-1318j1e/target/bin
writing list of installed files to 'installed.txt'
==> python3 -s /private/tmp/monoshape--homebrew-virtualenv-20190708-31029-1318j1e/target/bin/virtualenv -p python3 /usr/local/Cellar/monoshape/1.0/libexec
Already using interpreter /usr/local/opt/python/bin/python3.7
Using base prefix '/usr/local/Cellar/python/3.7.3/Frameworks/Python.framework/Versions/3.7'
New python executable in /usr/local/Cellar/monoshape/1.0/libexec/bin/python3.7
Also creating executable in /usr/local/Cellar/monoshape/1.0/libexec/bin/python
Installing setuptools, pip, wheel...
done.
Running virtualenv with interpreter /usr/local/opt/python/bin/python3
==> Downloading https://files.pythonhosted.org/packages/e8/53/298887541ae479f8467d4d23e028c6d15f9811da25c582297fd3869666b7/filetype-1.0.5.tar.gz
/usr/bin/curl -q --show-error --user-agent Homebrew/2.1.7\ \(Macintosh\;\ Intel\ Mac\ OS\ X\ 10.14.5\)\ curl/7.54.0 --location --silent --head --request GET https://files.pythonhosted.org/packages/e8/53/298887541ae479f8467d4d23e028c6d15f9811da25c582297fd3869666b7/filetype-1.0.5.tar.gz
Already downloaded: /Users/glezseoane/Library/Caches/Homebrew/downloads/3fa7ca0245481ae1b5d630937b7747c7eb99ae3dbdb1378f7c6f174c02d16d88--filetype-1.0.5.tar.gz
==> Verifying 3fa7ca0245481ae1b5d630937b7747c7eb99ae3dbdb1378f7c6f174c02d16d88--filetype-1.0.5.tar.gz checksum
tar xof /Users/glezseoane/Library/Caches/Homebrew/downloads/3fa7ca0245481ae1b5d630937b7747c7eb99ae3dbdb1378f7c6f174c02d16d88--filetype-1.0.5.tar.gz -C /private/tmp/d20190708-31029-18l1jr3
cp -pR /private/tmp/d20190708-31029-18l1jr3/filetype-1.0.5/. /private/tmp/monoshape--filetype-20190708-31029-1ulmm3o/filetype-1.0.5
chmod -Rf +w /private/tmp/d20190708-31029-18l1jr3
==> /usr/local/Cellar/monoshape/1.0/libexec/bin/pip install -v --no-deps --no-binary :all: --ignore-installed /private/tmp/monoshape--filetype-20190708-31029-1ulmm3o/filetype-1.0.5
Created temporary directory: /private/tmp/pip-ephem-wheel-cache-rhg0zeak
Created temporary directory: /private/tmp/pip-req-tracker-88t17ch_
Created requirements tracker '/private/tmp/pip-req-tracker-88t17ch_'
Created temporary directory: /private/tmp/pip-install-xme4lo35
Processing /private/tmp/monoshape--filetype-20190708-31029-1ulmm3o/filetype-1.0.5
  Created temporary directory: /private/tmp/pip-req-build-kzpp_29_
  Added file:///private/tmp/monoshape--filetype-20190708-31029-1ulmm3o/filetype-1.0.5 to build tracker '/private/tmp/pip-req-tracker-88t17ch_'
    Running setup.py (path:/private/tmp/pip-req-build-kzpp_29_/setup.py) egg_info for package from file:///private/tmp/monoshape--filetype-20190708-31029-1ulmm3o/filetype-1.0.5
    Running command python setup.py egg_info
    running egg_info
    creating pip-egg-info/filetype.egg-info
    writing pip-egg-info/filetype.egg-info/PKG-INFO
    writing dependency_links to pip-egg-info/filetype.egg-info/dependency_links.txt
    writing top-level names to pip-egg-info/filetype.egg-info/top_level.txt
    writing manifest file 'pip-egg-info/filetype.egg-info/SOURCES.txt'
    reading manifest file 'pip-egg-info/filetype.egg-info/SOURCES.txt'
    reading manifest template 'MANIFEST.in'
    writing manifest file 'pip-egg-info/filetype.egg-info/SOURCES.txt'
  Source in /private/tmp/pip-req-build-kzpp_29_ has version 1.0.5, which satisfies requirement filetype==1.0.5 from file:///private/tmp/monoshape--filetype-20190708-31029-1ulmm3o/filetype-1.0.5
  Removed filetype==1.0.5 from file:///private/tmp/monoshape--filetype-20190708-31029-1ulmm3o/filetype-1.0.5 from build tracker '/private/tmp/pip-req-tracker-88t17ch_'
Skipping bdist_wheel for filetype, due to binaries being disabled for it.
Installing collected packages: filetype
  Created temporary directory: /private/tmp/pip-record-gh6_mq17
  Running setup.py install for filetype: started
    Running command /usr/local/Cellar/monoshape/1.0/libexec/bin/python3.7 -u -c 'import setuptools, tokenize;__file__='"'"'/private/tmp/pip-req-build-kzpp_29_/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /private/tmp/pip-record-gh6_mq17/install-record.txt --single-version-externally-managed --compile --install-headers /usr/local/Cellar/monoshape/1.0/libexec/bin/../include/site/python3.7/filetype
    running install
    running build
    running build_py
    creating build
    creating build/lib
    creating build/lib/filetype
    copying filetype/filetype.py -> build/lib/filetype
    copying filetype/__init__.py -> build/lib/filetype
    copying filetype/utils.py -> build/lib/filetype
    copying filetype/helpers.py -> build/lib/filetype
    copying filetype/match.py -> build/lib/filetype
    creating build/lib/examples
    copying examples/__init__.py -> build/lib/examples
    copying examples/file.py -> build/lib/examples
    copying examples/buffer.py -> build/lib/examples
    copying examples/bytes.py -> build/lib/examples
    creating build/lib/filetype/types
    copying filetype/types/__init__.py -> build/lib/filetype/types
    copying filetype/types/font.py -> build/lib/filetype/types
    copying filetype/types/isobmff.py -> build/lib/filetype/types
    copying filetype/types/archive.py -> build/lib/filetype/types
    copying filetype/types/audio.py -> build/lib/filetype/types
    copying filetype/types/video.py -> build/lib/filetype/types
    copying filetype/types/image.py -> build/lib/filetype/types
    copying filetype/types/base.py -> build/lib/filetype/types
    running install_lib
    creating /usr/local/Cellar/monoshape/1.0/libexec/lib/python3.7/site-packages/filetype
    creating /usr/local/Cellar/monoshape/1.0/libexec/lib/python3.7/site-packages/filetype/types
    copying build/lib/filetype/types/__init__.py -> /usr/local/Cellar/monoshape/1.0/libexec/lib/python3.7/site-packages/filetype/types
    copying build/lib/filetype/types/font.py -> /usr/local/Cellar/monoshape/1.0/libexec/lib/python3.7/site-packages/filetype/types
    copying build/lib/filetype/types/isobmff.py -> /usr/local/Cellar/monoshape/1.0/libexec/lib/python3.7/site-packages/filetype/types
    copying build/lib/filetype/types/archive.py -> /usr/local/Cellar/monoshape/1.0/libexec/lib/python3.7/site-packages/filetype/types
    copying build/lib/filetype/types/audio.py -> /usr/local/Cellar/monoshape/1.0/libexec/lib/python3.7/site-packages/filetype/types
    copying build/lib/filetype/types/video.py -> /usr/local/Cellar/monoshape/1.0/libexec/lib/python3.7/site-packages/filetype/types
    copying build/lib/filetype/types/image.py -> /usr/local/Cellar/monoshape/1.0/libexec/lib/python3.7/site-packages/filetype/types
    copying build/lib/filetype/types/base.py -> /usr/local/Cellar/monoshape/1.0/libexec/lib/python3.7/site-packages/filetype/types
    copying build/lib/filetype/filetype.py -> /usr/local/Cellar/monoshape/1.0/libexec/lib/python3.7/site-packages/filetype
    copying build/lib/filetype/__init__.py -> /usr/local/Cellar/monoshape/1.0/libexec/lib/python3.7/site-packages/filetype
    copying build/lib/filetype/utils.py -> /usr/local/Cellar/monoshape/1.0/libexec/lib/python3.7/site-packages/filetype
    copying build/lib/filetype/helpers.py -> /usr/local/Cellar/monoshape/1.0/libexec/lib/python3.7/site-packages/filetype
    copying build/lib/filetype/match.py -> /usr/local/Cellar/monoshape/1.0/libexec/lib/python3.7/site-packages/filetype
    creating /usr/local/Cellar/monoshape/1.0/libexec/lib/python3.7/site-packages/examples
    copying build/lib/examples/__init__.py -> /usr/local/Cellar/monoshape/1.0/libexec/lib/python3.7/site-packages/examples
    copying build/lib/examples/file.py -> /usr/local/Cellar/monoshape/1.0/libexec/lib/python3.7/site-packages/examples
    copying build/lib/examples/buffer.py -> /usr/local/Cellar/monoshape/1.0/libexec/lib/python3.7/site-packages/examples
    copying build/lib/examples/bytes.py -> /usr/local/Cellar/monoshape/1.0/libexec/lib/python3.7/site-packages/examples
    byte-compiling /usr/local/Cellar/monoshape/1.0/libexec/lib/python3.7/site-packages/filetype/types/__init__.py to __init__.cpython-37.pyc
    byte-compiling /usr/local/Cellar/monoshape/1.0/libexec/lib/python3.7/site-packages/filetype/types/font.py to font.cpython-37.pyc
    byte-compiling /usr/local/Cellar/monoshape/1.0/libexec/lib/python3.7/site-packages/filetype/types/isobmff.py to isobmff.cpython-37.pyc
    byte-compiling /usr/local/Cellar/monoshape/1.0/libexec/lib/python3.7/site-packages/filetype/types/archive.py to archive.cpython-37.pyc
    byte-compiling /usr/local/Cellar/monoshape/1.0/libexec/lib/python3.7/site-packages/filetype/types/audio.py to audio.cpython-37.pyc
    byte-compiling /usr/local/Cellar/monoshape/1.0/libexec/lib/python3.7/site-packages/filetype/types/video.py to video.cpython-37.pyc
    byte-compiling /usr/local/Cellar/monoshape/1.0/libexec/lib/python3.7/site-packages/filetype/types/image.py to image.cpython-37.pyc
    byte-compiling /usr/local/Cellar/monoshape/1.0/libexec/lib/python3.7/site-packages/filetype/types/base.py to base.cpython-37.pyc
    byte-compiling /usr/local/Cellar/monoshape/1.0/libexec/lib/python3.7/site-packages/filetype/filetype.py to filetype.cpython-37.pyc
    byte-compiling /usr/local/Cellar/monoshape/1.0/libexec/lib/python3.7/site-packages/filetype/__init__.py to __init__.cpython-37.pyc
    byte-compiling /usr/local/Cellar/monoshape/1.0/libexec/lib/python3.7/site-packages/filetype/utils.py to utils.cpython-37.pyc
    byte-compiling /usr/local/Cellar/monoshape/1.0/libexec/lib/python3.7/site-packages/filetype/helpers.py to helpers.cpython-37.pyc
    byte-compiling /usr/local/Cellar/monoshape/1.0/libexec/lib/python3.7/site-packages/filetype/match.py to match.cpython-37.pyc
    byte-compiling /usr/local/Cellar/monoshape/1.0/libexec/lib/python3.7/site-packages/examples/__init__.py to __init__.cpython-37.pyc
    byte-compiling /usr/local/Cellar/monoshape/1.0/libexec/lib/python3.7/site-packages/examples/file.py to file.cpython-37.pyc
    byte-compiling /usr/local/Cellar/monoshape/1.0/libexec/lib/python3.7/site-packages/examples/buffer.py to buffer.cpython-37.pyc
    byte-compiling /usr/local/Cellar/monoshape/1.0/libexec/lib/python3.7/site-packages/examples/bytes.py to bytes.cpython-37.pyc
    running install_egg_info
    running egg_info
    writing filetype.egg-info/PKG-INFO
    writing dependency_links to filetype.egg-info/dependency_links.txt
    writing top-level names to filetype.egg-info/top_level.txt
    reading manifest file 'filetype.egg-info/SOURCES.txt'
    reading manifest template 'MANIFEST.in'
    writing manifest file 'filetype.egg-info/SOURCES.txt'
    Copying filetype.egg-info to /usr/local/Cellar/monoshape/1.0/libexec/lib/python3.7/site-packages/filetype-1.0.5-py3.7.egg-info
    running install_scripts
    writing list of installed files to '/private/tmp/pip-record-gh6_mq17/install-record.txt'
  Running setup.py install for filetype: finished with status 'done'
  Removing source in /private/tmp/pip-req-build-kzpp_29_
Successfully installed filetype-1.0.5
Cleaning up...
Removed build tracker '/private/tmp/pip-req-tracker-88t17ch_'
==> Downloading https://files.pythonhosted.org/packages/81/1a/6b2971adc1bca55b9a53ed1efa372acff7e8b9913982a396f3fa046efaf8/Pillow-6.0.0.tar.gz
/usr/bin/curl -q --show-error --user-agent Homebrew/2.1.7\ \(Macintosh\;\ Intel\ Mac\ OS\ X\ 10.14.5\)\ curl/7.54.0 --location --silent --head --request GET https://files.pythonhosted.org/packages/81/1a/6b2971adc1bca55b9a53ed1efa372acff7e8b9913982a396f3fa046efaf8/Pillow-6.0.0.tar.gz
Already downloaded: /Users/glezseoane/Library/Caches/Homebrew/downloads/ea7321a9356188da36d495f4135bfd7dfeb7add8558b773a6421e9096db03779--Pillow-6.0.0.tar.gz
==> Verifying ea7321a9356188da36d495f4135bfd7dfeb7add8558b773a6421e9096db03779--Pillow-6.0.0.tar.gz checksum
tar xof /Users/glezseoane/Library/Caches/Homebrew/downloads/ea7321a9356188da36d495f4135bfd7dfeb7add8558b773a6421e9096db03779--Pillow-6.0.0.tar.gz -C /private/tmp/d20190708-31029-1m7e24t
cp -pR /private/tmp/d20190708-31029-1m7e24t/Pillow-6.0.0/. /private/tmp/monoshape--Pillow-20190708-31029-1w8theb/Pillow-6.0.0
chmod -Rf +w /private/tmp/d20190708-31029-1m7e24t
==> /usr/local/Cellar/monoshape/1.0/libexec/bin/pip install -v --no-deps --no-binary :all: --ignore-installed /private/tmp/monoshape--Pillow-20190708-31029-1w8theb/Pillow-6.0.0
Created temporary directory: /private/tmp/pip-ephem-wheel-cache-aihec4je
Created temporary directory: /private/tmp/pip-req-tracker-6pqza4qj
Created requirements tracker '/private/tmp/pip-req-tracker-6pqza4qj'
Created temporary directory: /private/tmp/pip-install-tjb4rpw6
Processing /private/tmp/monoshape--Pillow-20190708-31029-1w8theb/Pillow-6.0.0
  Created temporary directory: /private/tmp/pip-req-build-rgrd0jy0
  Added file:///private/tmp/monoshape--Pillow-20190708-31029-1w8theb/Pillow-6.0.0 to build tracker '/private/tmp/pip-req-tracker-6pqza4qj'
    Running setup.py (path:/private/tmp/pip-req-build-rgrd0jy0/setup.py) egg_info for package from file:///private/tmp/monoshape--Pillow-20190708-31029-1w8theb/Pillow-6.0.0
    Running command python setup.py egg_info
    running egg_info
    creating pip-egg-info/Pillow.egg-info
    writing pip-egg-info/Pillow.egg-info/PKG-INFO
    writing dependency_links to pip-egg-info/Pillow.egg-info/dependency_links.txt
    writing top-level names to pip-egg-info/Pillow.egg-info/top_level.txt
    writing manifest file 'pip-egg-info/Pillow.egg-info/SOURCES.txt'
    reading manifest file 'pip-egg-info/Pillow.egg-info/SOURCES.txt'
    reading manifest template 'MANIFEST.in'
    warning: no files found matching '*.c'
    warning: no files found matching '*.h'
    warning: no files found matching '*.sh'
    no previously-included directories found matching 'docs/_static'
    warning: no previously-included files found matching '.appveyor.yml'
    warning: no previously-included files found matching '.coveragerc'
    warning: no previously-included files found matching '.codecov.yml'
    warning: no previously-included files found matching '.editorconfig'
    warning: no previously-included files found matching '.landscape.yaml'
    warning: no previously-included files found matching '.readthedocs.yml'
    warning: no previously-included files found matching 'azure-pipelines.yml'
    warning: no previously-included files found matching 'tox.ini'
    warning: no previously-included files matching '.git*' found anywhere in distribution
    warning: no previously-included files matching '*.pyc' found anywhere in distribution
    warning: no previously-included files matching '*.so' found anywhere in distribution
    no previously-included directories found matching '.azure-pipelines'
    no previously-included directories found matching '.travis'
    writing manifest file 'pip-egg-info/Pillow.egg-info/SOURCES.txt'
  Source in /private/tmp/pip-req-build-rgrd0jy0 has version 6.0.0, which satisfies requirement Pillow==6.0.0 from file:///private/tmp/monoshape--Pillow-20190708-31029-1w8theb/Pillow-6.0.0
  Removed Pillow==6.0.0 from file:///private/tmp/monoshape--Pillow-20190708-31029-1w8theb/Pillow-6.0.0 from build tracker '/private/tmp/pip-req-tracker-6pqza4qj'
Skipping bdist_wheel for Pillow, due to binaries being disabled for it.
Installing collected packages: Pillow
  Created temporary directory: /private/tmp/pip-record-1a95g79y
  Running setup.py install for Pillow: started
    Running command /usr/local/Cellar/monoshape/1.0/libexec/bin/python3.7 -u -c 'import setuptools, tokenize;__file__='"'"'/private/tmp/pip-req-build-rgrd0jy0/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /private/tmp/pip-record-1a95g79y/install-record.txt --single-version-externally-managed --compile --install-headers /usr/local/Cellar/monoshape/1.0/libexec/bin/../include/site/python3.7/Pillow
    running install
    running build
    running build_py
    creating build
    creating build/lib.macosx-10.14-x86_64-3.7
    creating build/lib.macosx-10.14-x86_64-3.7/PIL
    copying src/PIL/MpoImagePlugin.py -> build/lib.macosx-10.14-x86_64-3.7/PIL
    copying src/PIL/ImageMode.py -> build/lib.macosx-10.14-x86_64-3.7/PIL
    copying src/PIL/PngImagePlugin.py -> build/lib.macosx-10.14-x86_64-3.7/PIL
    copying src/PIL/XbmImagePlugin.py -> build/lib.macosx-10.14-x86_64-3.7/PIL
    copying src/PIL/PcxImagePlugin.py -> build/lib.macosx-10.14-x86_64-3.7/PIL
    copying src/PIL/SunImagePlugin.py -> build/lib.macosx-10.14-x86_64-3.7/PIL
    copying src/PIL/ImageFile.py -> build/lib.macosx-10.14-x86_64-3.7/PIL
    copying src/PIL/SpiderImagePlugin.py -> build/lib.macosx-10.14-x86_64-3.7/PIL
    copying src/PIL/TarIO.py -> build/lib.macosx-10.14-x86_64-3.7/PIL
    copying src/PIL/FitsStubImagePlugin.py -> build/lib.macosx-10.14-x86_64-3.7/PIL
    copying src/PIL/MpegImagePlugin.py -> build/lib.macosx-10.14-x86_64-3.7/PIL
    copying src/PIL/BdfFontFile.py -> build/lib.macosx-10.14-x86_64-3.7/PIL
    copying src/PIL/GribStubImagePlugin.py -> build/lib.macosx-10.14-x86_64-3.7/PIL
    copying src/PIL/ImageStat.py -> build/lib.macosx-10.14-x86_64-3.7/PIL
    copying src/PIL/PixarImagePlugin.py -> build/lib.macosx-10.14-x86_64-3.7/PIL
    copying src/PIL/GimpPaletteFile.py -> build/lib.macosx-10.14-x86_64-3.7/PIL
    copying src/PIL/ImageColor.py -> build/lib.macosx-10.14-x86_64-3.7/PIL
    copying src/PIL/ContainerIO.py -> build/lib.macosx-10.14-x86_64-3.7/PIL
    copying src/PIL/MspImagePlugin.py -> build/lib.macosx-10.14-x86_64-3.7/PIL
    copying src/PIL/MicImagePlugin.py -> build/lib.macosx-10.14-x86_64-3.7/PIL
    copying src/PIL/_version.py -> build/lib.macosx-10.14-x86_64-3.7/PIL
    copying src/PIL/ImtImagePlugin.py -> build/lib.macosx-10.14-x86_64-3.7/PIL
    copying src/PIL/GifImagePlugin.py -> build/lib.macosx-10.14-x86_64-3.7/PIL
    copying src/PIL/PalmImagePlugin.py -> build/lib.macosx-10.14-x86_64-3.7/PIL
    copying src/PIL/ImageQt.py -> build/lib.macosx-10.14-x86_64-3.7/PIL
    copying src/PIL/ImageMath.py -> build/lib.macosx-10.14-x86_64-3.7/PIL
    copying src/PIL/PaletteFile.py -> build/lib.macosx-10.14-x86_64-3.7/PIL
    copying src/PIL/FontFile.py -> build/lib.macosx-10.14-x86_64-3.7/PIL
    copying src/PIL/PdfParser.py -> build/lib.macosx-10.14-x86_64-3.7/PIL
    copying src/PIL/ExifTags.py -> build/lib.macosx-10.14-x86_64-3.7/PIL
    copying src/PIL/ImageCms.py -> build/lib.macosx-10.14-x86_64-3.7/PIL
    copying src/PIL/FpxImagePlugin.py -> build/lib.macosx-10.14-x86_64-3.7/PIL
    copying src/PIL/ImageChops.py -> build/lib.macosx-10.14-x86_64-3.7/PIL
    copying src/PIL/BufrStubImagePlugin.py -> build/lib.macosx-10.14-x86_64-3.7/PIL
    copying src/PIL/PSDraw.py -> build/lib.macosx-10.14-x86_64-3.7/PIL
    copying src/PIL/PcdImagePlugin.py -> build/lib.macosx-10.14-x86_64-3.7/PIL
    copying src/PIL/ImageFilter.py -> build/lib.macosx-10.14-x86_64-3.7/PIL
    copying src/PIL/ImageDraw2.py -> build/lib.macosx-10.14-x86_64-3.7/PIL
    copying src/PIL/ImagePath.py -> build/lib.macosx-10.14-x86_64-3.7/PIL
    copying src/PIL/DcxImagePlugin.py -> build/lib.macosx-10.14-x86_64-3.7/PIL
    copying src/PIL/__init__.py -> build/lib.macosx-10.14-x86_64-3.7/PIL
    copying src/PIL/JpegPresets.py -> build/lib.macosx-10.14-x86_64-3.7/PIL
    copying src/PIL/Hdf5StubImagePlugin.py -> build/lib.macosx-10.14-x86_64-3.7/PIL
    copying src/PIL/features.py -> build/lib.macosx-10.14-x86_64-3.7/PIL
    copying src/PIL/ImageDraw.py -> build/lib.macosx-10.14-x86_64-3.7/PIL
    copying src/PIL/GimpGradientFile.py -> build/lib.macosx-10.14-x86_64-3.7/PIL
    copying src/PIL/ImageWin.py -> build/lib.macosx-10.14-x86_64-3.7/PIL
    copying src/PIL/IcoImagePlugin.py -> build/lib.macosx-10.14-x86_64-3.7/PIL
    copying src/PIL/_tkinter_finder.py -> build/lib.macosx-10.14-x86_64-3.7/PIL
    copying src/PIL/EpsImagePlugin.py -> build/lib.macosx-10.14-x86_64-3.7/PIL
    copying src/PIL/TgaImagePlugin.py -> build/lib.macosx-10.14-x86_64-3.7/PIL
    copying src/PIL/ImageMorph.py -> build/lib.macosx-10.14-x86_64-3.7/PIL
    copying src/PIL/Jpeg2KImagePlugin.py -> build/lib.macosx-10.14-x86_64-3.7/PIL
    copying src/PIL/WalImageFile.py -> build/lib.macosx-10.14-x86_64-3.7/PIL
    copying src/PIL/PcfFontFile.py -> build/lib.macosx-10.14-x86_64-3.7/PIL
    copying src/PIL/BlpImagePlugin.py -> build/lib.macosx-10.14-x86_64-3.7/PIL
    copying src/PIL/ImageTk.py -> build/lib.macosx-10.14-x86_64-3.7/PIL
    copying src/PIL/GbrImagePlugin.py -> build/lib.macosx-10.14-x86_64-3.7/PIL
    copying src/PIL/ImageOps.py -> build/lib.macosx-10.14-x86_64-3.7/PIL
    copying src/PIL/PdfImagePlugin.py -> build/lib.macosx-10.14-x86_64-3.7/PIL
    copying src/PIL/ImageShow.py -> build/lib.macosx-10.14-x86_64-3.7/PIL
    copying src/PIL/ImageEnhance.py -> build/lib.macosx-10.14-x86_64-3.7/PIL
    copying src/PIL/WmfImagePlugin.py -> build/lib.macosx-10.14-x86_64-3.7/PIL
    copying src/PIL/ImageGrab.py -> build/lib.macosx-10.14-x86_64-3.7/PIL
    copying src/PIL/WebPImagePlugin.py -> build/lib.macosx-10.14-x86_64-3.7/PIL
    copying src/PIL/FliImagePlugin.py -> build/lib.macosx-10.14-x86_64-3.7/PIL
    copying src/PIL/TiffTags.py -> build/lib.macosx-10.14-x86_64-3.7/PIL
    copying src/PIL/CurImagePlugin.py -> build/lib.macosx-10.14-x86_64-3.7/PIL
    copying src/PIL/_util.py -> build/lib.macosx-10.14-x86_64-3.7/PIL
    copying src/PIL/GdImageFile.py -> build/lib.macosx-10.14-x86_64-3.7/PIL
    copying src/PIL/TiffImagePlugin.py -> build/lib.macosx-10.14-x86_64-3.7/PIL
    copying src/PIL/IptcImagePlugin.py -> build/lib.macosx-10.14-x86_64-3.7/PIL
    copying src/PIL/ImagePalette.py -> build/lib.macosx-10.14-x86_64-3.7/PIL
    copying src/PIL/BmpImagePlugin.py -> build/lib.macosx-10.14-x86_64-3.7/PIL
    copying src/PIL/ImageTransform.py -> build/lib.macosx-10.14-x86_64-3.7/PIL
    copying src/PIL/IcnsImagePlugin.py -> build/lib.macosx-10.14-x86_64-3.7/PIL
    copying src/PIL/McIdasImagePlugin.py -> build/lib.macosx-10.14-x86_64-3.7/PIL
    copying src/PIL/XpmImagePlugin.py -> build/lib.macosx-10.14-x86_64-3.7/PIL
    copying src/PIL/DdsImagePlugin.py -> build/lib.macosx-10.14-x86_64-3.7/PIL
    copying src/PIL/ImageSequence.py -> build/lib.macosx-10.14-x86_64-3.7/PIL
    copying src/PIL/PyAccess.py -> build/lib.macosx-10.14-x86_64-3.7/PIL
    copying src/PIL/_binary.py -> build/lib.macosx-10.14-x86_64-3.7/PIL
    copying src/PIL/Image.py -> build/lib.macosx-10.14-x86_64-3.7/PIL
    copying src/PIL/XVThumbImagePlugin.py -> build/lib.macosx-10.14-x86_64-3.7/PIL
    copying src/PIL/SgiImagePlugin.py -> build/lib.macosx-10.14-x86_64-3.7/PIL
    copying src/PIL/ImImagePlugin.py -> build/lib.macosx-10.14-x86_64-3.7/PIL
    copying src/PIL/PsdImagePlugin.py -> build/lib.macosx-10.14-x86_64-3.7/PIL
    copying src/PIL/JpegImagePlugin.py -> build/lib.macosx-10.14-x86_64-3.7/PIL
    copying src/PIL/ImageFont.py -> build/lib.macosx-10.14-x86_64-3.7/PIL
    copying src/PIL/PpmImagePlugin.py -> build/lib.macosx-10.14-x86_64-3.7/PIL
    copying src/PIL/FtexImagePlugin.py -> build/lib.macosx-10.14-x86_64-3.7/PIL
    running egg_info
    writing src/Pillow.egg-info/PKG-INFO
    writing dependency_links to src/Pillow.egg-info/dependency_links.txt
    writing top-level names to src/Pillow.egg-info/top_level.txt
    reading manifest file 'src/Pillow.egg-info/SOURCES.txt'
    reading manifest template 'MANIFEST.in'
    warning: no files found matching '*.c'
    warning: no files found matching '*.h'
    warning: no files found matching '*.sh'
    no previously-included directories found matching 'docs/_static'
    warning: no previously-included files found matching '.appveyor.yml'
    warning: no previously-included files found matching '.coveragerc'
    warning: no previously-included files found matching '.codecov.yml'
    warning: no previously-included files found matching '.editorconfig'
    warning: no previously-included files found matching '.landscape.yaml'
    warning: no previously-included files found matching '.readthedocs.yml'
    warning: no previously-included files found matching 'azure-pipelines.yml'
    warning: no previously-included files found matching 'tox.ini'
    warning: no previously-included files matching '.git*' found anywhere in distribution
    warning: no previously-included files matching '*.pyc' found anywhere in distribution
    warning: no previously-included files matching '*.so' found anywhere in distribution
    no previously-included directories found matching '.azure-pipelines'
    no previously-included directories found matching '.travis'
    writing manifest file 'src/Pillow.egg-info/SOURCES.txt'
    running build_ext
    building 'PIL._imaging' extension
    creating build/temp.macosx-10.14-x86_64-3.7
    building 'PIL._imagingcms' extension
    building 'PIL._imagingft' extension
    building 'PIL._webp' extension
    creating build/temp.macosx-10.14-x86_64-3.7/src
    clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/Tk.framework/Versions/8.5/Headers -DHAVE_WEBPMUX -I/usr/local/Cellar/freetype/2.10.0/include/freetype2 -I/usr/local/Cellar/openjpeg/2.3.1/include/openjpeg-2.3 -I/private/tmp/pip-req-build-rgrd0jy0/src/libImaging -I/usr/local/Cellar/monoshape/1.0/libexec/include -I/usr/local/include -I/usr/include -I/usr/local/opt/python/Frameworks/Python.framework/Versions/3.7/include/python3.7m -c src/_webp.c -o build/temp.macosx-10.14-x86_64-3.7/src/_webp.o
    clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/Tk.framework/Versions/8.5/Headers -I/usr/local/Cellar/freetype/2.10.0/include/freetype2 -I/usr/local/Cellar/openjpeg/2.3.1/include/openjpeg-2.3 -I/private/tmp/pip-req-build-rgrd0jy0/src/libImaging -I/usr/local/Cellar/monoshape/1.0/libexec/include -I/usr/local/include -I/usr/include -I/usr/local/opt/python/Frameworks/Python.framework/Versions/3.7/include/python3.7m -c src/_imagingft.c -o build/temp.macosx-10.14-x86_64-3.7/src/_imagingft.o
    clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/Tk.framework/Versions/8.5/Headers -I/usr/local/Cellar/freetype/2.10.0/include/freetype2 -I/usr/local/Cellar/openjpeg/2.3.1/include/openjpeg-2.3 -I/private/tmp/pip-req-build-rgrd0jy0/src/libImaging -I/usr/local/Cellar/monoshape/1.0/libexec/include -I/usr/local/include -I/usr/include -I/usr/local/opt/python/Frameworks/Python.framework/Versions/3.7/include/python3.7m -c src/_imagingcms.c -o build/temp.macosx-10.14-x86_64-3.7/src/_imagingcms.o
    creating build/temp.macosx-10.14-x86_64-3.7/src/libImaging
    clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/Tk.framework/Versions/8.5/Headers -DHAVE_LIBJPEG -DHAVE_OPENJPEG -DHAVE_LIBZ -DHAVE_LIBTIFF -DPILLOW_VERSION="6.0.0" -I/usr/local/Cellar/freetype/2.10.0/include/freetype2 -I/usr/local/Cellar/openjpeg/2.3.1/include/openjpeg-2.3 -I/private/tmp/pip-req-build-rgrd0jy0/src/libImaging -I/usr/local/Cellar/monoshape/1.0/libexec/include -I/usr/local/include -I/usr/include -I/usr/local/opt/python/Frameworks/Python.framework/Versions/3.7/include/python3.7m -c src/_imaging.c -o build/temp.macosx-10.14-x86_64-3.7/src/_imaging.o
    src/_imagingft.c:25:10: fatal error: 'ft2build.h' file not found
    #include <ft2build.h>
             ^~~~~~~~~~~~
    1 error generated.
    building 'PIL._imagingtk' extension
    creating build/temp.macosx-10.14-x86_64-3.7/src/Tk
    clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/Tk.framework/Versions/8.5/Headers -Isrc/Tk -I/usr/local/Cellar/freetype/2.10.0/include/freetype2 -I/usr/local/Cellar/openjpeg/2.3.1/include/openjpeg-2.3 -I/private/tmp/pip-req-build-rgrd0jy0/src/libImaging -I/usr/local/Cellar/monoshape/1.0/libexec/include -I/usr/local/include -I/usr/include -I/usr/local/opt/python/Frameworks/Python.framework/Versions/3.7/include/python3.7m -c src/_imagingtk.c -o build/temp.macosx-10.14-x86_64-3.7/src/_imagingtk.o
    clang -bundle -undefined dynamic_lookup -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk build/temp.macosx-10.14-x86_64-3.7/src/_webp.o -L/usr/local/Cellar/monoshape/1.0/libexec/lib -L/usr/local/lib -L/usr/lib -lwebp -lwebpmux -lwebpdemux -o build/lib.macosx-10.14-x86_64-3.7/PIL/_webp.cpython-37m-darwin.so
    clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/Tk.framework/Versions/8.5/Headers -Isrc/Tk -I/usr/local/Cellar/freetype/2.10.0/include/freetype2 -I/usr/local/Cellar/openjpeg/2.3.1/include/openjpeg-2.3 -I/private/tmp/pip-req-build-rgrd0jy0/src/libImaging -I/usr/local/Cellar/monoshape/1.0/libexec/include -I/usr/local/include -I/usr/include -I/usr/local/opt/python/Frameworks/Python.framework/Versions/3.7/include/python3.7m -c src/Tk/tkImaging.c -o build/temp.macosx-10.14-x86_64-3.7/src/Tk/tkImaging.o
    building 'PIL._imagingmath' extension
    clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/Tk.framework/Versions/8.5/Headers -I/usr/local/Cellar/freetype/2.10.0/include/freetype2 -I/usr/local/Cellar/openjpeg/2.3.1/include/openjpeg-2.3 -I/private/tmp/pip-req-build-rgrd0jy0/src/libImaging -I/usr/local/Cellar/monoshape/1.0/libexec/include -I/usr/local/include -I/usr/include -I/usr/local/opt/python/Frameworks/Python.framework/Versions/3.7/include/python3.7m -c src/_imagingmath.c -o build/temp.macosx-10.14-x86_64-3.7/src/_imagingmath.o
    clang -bundle -undefined dynamic_lookup -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk build/temp.macosx-10.14-x86_64-3.7/src/_imagingcms.o -L/usr/local/Cellar/monoshape/1.0/libexec/lib -L/usr/local/lib -L/usr/lib -llcms2 -o build/lib.macosx-10.14-x86_64-3.7/PIL/_imagingcms.cpython-37m-darwin.so
    building 'PIL._imagingmorph' extension
    clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/Tk.framework/Versions/8.5/Headers -I/usr/local/Cellar/freetype/2.10.0/include/freetype2 -I/usr/local/Cellar/openjpeg/2.3.1/include/openjpeg-2.3 -I/private/tmp/pip-req-build-rgrd0jy0/src/libImaging -I/usr/local/Cellar/monoshape/1.0/libexec/include -I/usr/local/include -I/usr/include -I/usr/local/opt/python/Frameworks/Python.framework/Versions/3.7/include/python3.7m -c src/_imagingmorph.c -o build/temp.macosx-10.14-x86_64-3.7/src/_imagingmorph.o
    clang -bundle -undefined dynamic_lookup -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk build/temp.macosx-10.14-x86_64-3.7/src/_imagingtk.o build/temp.macosx-10.14-x86_64-3.7/src/Tk/tkImaging.o -L/usr/local/Cellar/monoshape/1.0/libexec/lib -L/usr/local/lib -L/usr/lib -o build/lib.macosx-10.14-x86_64-3.7/PIL/_imagingtk.cpython-37m-darwin.so
    clang -bundle -undefined dynamic_lookup -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk build/temp.macosx-10.14-x86_64-3.7/src/_imagingmorph.o -L/usr/local/Cellar/monoshape/1.0/libexec/lib -L/usr/local/lib -L/usr/lib -o build/lib.macosx-10.14-x86_64-3.7/PIL/_imagingmorph.cpython-37m-darwin.so
    clang -bundle -undefined dynamic_lookup -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk build/temp.macosx-10.14-x86_64-3.7/src/_imagingmath.o -L/usr/local/Cellar/monoshape/1.0/libexec/lib -L/usr/local/lib -L/usr/lib -o build/lib.macosx-10.14-x86_64-3.7/PIL/_imagingmath.cpython-37m-darwin.so
    clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/Tk.framework/Versions/8.5/Headers -DHAVE_LIBJPEG -DHAVE_OPENJPEG -DHAVE_LIBZ -DHAVE_LIBTIFF -DPILLOW_VERSION="6.0.0" -I/usr/local/Cellar/freetype/2.10.0/include/freetype2 -I/usr/local/Cellar/openjpeg/2.3.1/include/openjpeg-2.3 -I/private/tmp/pip-req-build-rgrd0jy0/src/libImaging -I/usr/local/Cellar/monoshape/1.0/libexec/include -I/usr/local/include -I/usr/include -I/usr/local/opt/python/Frameworks/Python.framework/Versions/3.7/include/python3.7m -c src/decode.c -o build/temp.macosx-10.14-x86_64-3.7/src/decode.o
    In file included from src/decode.c:869:
    /private/tmp/pip-req-build-rgrd0jy0/src/libImaging/Jpeg2K.h:11:10: fatal error: 'openjpeg.h' file not found
    #include <openjpeg.h>
             ^~~~~~~~~~~~
    1 error generated.
    error: command 'clang' failed with exit status 1
  Running setup.py install for Pillow: finished with status 'error'
Cleaning up...
  Removing source in /private/tmp/pip-req-build-rgrd0jy0
Removed build tracker '/private/tmp/pip-req-tracker-6pqza4qj'
ERROR: Command "/usr/local/Cellar/monoshape/1.0/libexec/bin/python3.7 -u -c 'import setuptools, tokenize;__file__='"'"'/private/tmp/pip-req-build-rgrd0jy0/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /private/tmp/pip-record-1a95g79y/install-record.txt --single-version-externally-managed --compile --install-headers /usr/local/Cellar/monoshape/1.0/libexec/bin/../include/site/python3.7/Pillow" failed with error code 1 in /private/tmp/pip-req-build-rgrd0jy0/
Exception information:
Traceback (most recent call last):
  File "/usr/local/Cellar/monoshape/1.0/libexec/lib/python3.7/site-packages/pip/_internal/cli/base_command.py", line 178, in main
    status = self.run(options, args)
  File "/usr/local/Cellar/monoshape/1.0/libexec/lib/python3.7/site-packages/pip/_internal/commands/install.py", line 414, in run
    use_user_site=options.use_user_site,
  File "/usr/local/Cellar/monoshape/1.0/libexec/lib/python3.7/site-packages/pip/_internal/req/__init__.py", line 58, in install_given_reqs
    **kwargs
  File "/usr/local/Cellar/monoshape/1.0/libexec/lib/python3.7/site-packages/pip/_internal/req/req_install.py", line 951, in install
    spinner=spinner,
  File "/usr/local/Cellar/monoshape/1.0/libexec/lib/python3.7/site-packages/pip/_internal/utils/misc.py", line 776, in call_subprocess
    % (command_desc, proc.returncode, cwd))
pip._internal.exceptions.InstallationError: Command "/usr/local/Cellar/monoshape/1.0/libexec/bin/python3.7 -u -c 'import setuptools, tokenize;__file__='"'"'/private/tmp/pip-req-build-rgrd0jy0/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /private/tmp/pip-record-1a95g79y/install-record.txt --single-version-externally-managed --compile --install-headers /usr/local/Cellar/monoshape/1.0/libexec/bin/../include/site/python3.7/Pillow" failed with error code 1 in /private/tmp/pip-req-build-rgrd0jy0/
/usr/bin/curl --version
/usr/libexec/java_home --xml --failfast
/usr/libexec/java_home --xml --failfast
/usr/local/Homebrew/Library/Homebrew/debrew.rb:13:in `raise'
BuildError: Failed executing: /usr/local/Cellar/monoshape/1.0/libexec/bin/pip install -v --no-deps --no-binary :all: --ignore-installed /private/tmp/monoshape--Pillow-20190708-31029-1w8theb/Pillow-6.0.0
1. raise
2. ignore
3. backtrace
4. irb
5. shell
Choose an action:

Since macOS Mojave 10.14.5 with Python 3.7 and Homebrew updated.

hugovk commented 5 years ago

Do you have the prerequisites installed?

https://pillow.readthedocs.io/en/stable/installation.html#building-on-macos

bglezseoane commented 5 years ago

I have the prerequisites installed and can install Pillow following the instructions since my working environment. But now I need to grave the setup process into a Homebrew recipe to make my application portable, and Pillow is being a difficult dependence to include in the recipe. Since Homebrew uses isolated Python agents to install kegs, the dependencies of Pillow seems unsatisfied during the process.

hugovk commented 5 years ago

Should the Pillow prerequisites be included in the recipe? You have the Pillow source code there, and a couple of other things unrelated to Pillow. Is there an "official" Pillow recipe at Homebrew?

bglezseoane commented 5 years ago

Yes, but the normal way to include dependencies in projects like this is linking another Homebrew formulas or declaring Python dependencies in case of want to use PIP in the install process. I can not use the first option because there is not a Pillow Homebrew recipe and the second one does not works as I declare here.

radarhere commented 5 years ago

You look like you came up with a solution for this - https://github.com/glezseoane/homebrew-tap/commit/3c1fcfccdd02021dbc2207908d81ff59c8d9569b#diff-ae1a6c4ca58cc61479321e079bf977b4. Are you happy with that?

bglezseoane commented 5 years ago

Yes. I was aiming to close this incident by commenting on the solution I had reached. Thank you!

nrolland commented 4 years ago

same here when trying to build with nix (some other builder like homebrew)

explicit dependencies are better.