mirror of
				https://github.com/python-pillow/Pillow.git
				synced 2025-11-04 01:47:47 +03:00 
			
		
		
		
	RF: try using pkg-config from homebrew
This commit is contained in:
		
							parent
							
								
									c471b897f9
								
							
						
					
					
						commit
						ed040a10a0
					
				
							
								
								
									
										26
									
								
								README.rst
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										26
									
								
								README.rst
									
									
									
									
									
										Normal file
									
								
							| 
						 | 
					@ -0,0 +1,26 @@
 | 
				
			||||||
 | 
					####################
 | 
				
			||||||
 | 
					Pillow wheel builder
 | 
				
			||||||
 | 
					####################
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					Repository to build OSX wheels for Pillow.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					To update:
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					* Update Pillow with version you want to build:
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    * cd Pillow && git pull && git checkout DESIRED_TAG
 | 
				
			||||||
 | 
					    * cd .. && git add Pillow
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					where "DESIRED_TAG" is a Pillow git tag like "2.4.0".
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					The wheels get uploaded to a `rackspace container
 | 
				
			||||||
 | 
					<http://a365fff413fe338398b6-1c8a9b3114517dc5fe17b7c3f8c63a43.r19.cf2.rackcdn.com>`_
 | 
				
			||||||
 | 
					to which I have the password.  The password is encrypted to this exact repo in
 | 
				
			||||||
 | 
					the ``.travis.yml`` file, so the upload won't work for you from another repo.
 | 
				
			||||||
 | 
					Either contact me to get set up, or use another upload service such as github -
 | 
				
			||||||
 | 
					see for example Jonathan Helmus' `sckit-image wheels builder
 | 
				
			||||||
 | 
					<https://github.com/jjhelmus/scikit-image-ci-wheel-builder>`_
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					I got the rackspace password from Olivier Grisel - we might be able to share
 | 
				
			||||||
 | 
					this account across projects - again - please contact me or Olivier if you'd
 | 
				
			||||||
 | 
					like this to happen.
 | 
				
			||||||
| 
						 | 
					@ -1,18 +1,21 @@
 | 
				
			||||||
source terryfy/travis_tools.sh
 | 
					source terryfy/travis_tools.sh
 | 
				
			||||||
source library_installers.sh
 | 
					source library_installers.sh
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# Need cmake for openjpeg
 | 
				
			||||||
 | 
					brew install cmake
 | 
				
			||||||
 | 
					# Need pkg-config for freetype to find libpng
 | 
				
			||||||
 | 
					brew install pkg-config
 | 
				
			||||||
 | 
					# Set up build
 | 
				
			||||||
init_vars
 | 
					init_vars
 | 
				
			||||||
clean_builds
 | 
					clean_builds
 | 
				
			||||||
# Need pkg-config for freetype library detection
 | 
					# install_pkg_config
 | 
				
			||||||
install_pkg_config
 | 
					 | 
				
			||||||
install_jpeg
 | 
					install_jpeg
 | 
				
			||||||
install_tiff
 | 
					install_tiff
 | 
				
			||||||
install_libpng
 | 
					install_libpng
 | 
				
			||||||
install_lcms2
 | 
					install_lcms2
 | 
				
			||||||
install_webp
 | 
					install_webp
 | 
				
			||||||
# Need cmake for openjpeg
 | 
					 | 
				
			||||||
brew install cmake
 | 
					 | 
				
			||||||
install_openjpeg
 | 
					install_openjpeg
 | 
				
			||||||
# Fix openjpeg library install id
 | 
					# Fix openjpeg library install id
 | 
				
			||||||
 | 
					# https://code.google.com/p/openjpeg/issues/detail?id=367
 | 
				
			||||||
install_name_tool -id $PWD/build/lib/libopenjp2.6.dylib build/lib/libopenjp2.2.0.0.dylib
 | 
					install_name_tool -id $PWD/build/lib/libopenjp2.6.dylib build/lib/libopenjp2.2.0.0.dylib
 | 
				
			||||||
install_freetype
 | 
					install_freetype
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue
	
	Block a user