mirror of
				https://github.com/python-pillow/Pillow.git
				synced 2025-11-01 00:17:27 +03:00 
			
		
		
		
	RF: automatically update to latest tag
This commit is contained in:
		
							parent
							
								
									006164972d
								
							
						
					
					
						commit
						2efbaa41d5
					
				|  | @ -2,6 +2,7 @@ language: | |||
|   - objective-c | ||||
| 
 | ||||
| env: | ||||
|   global: LATEST_TAG=1 | ||||
|   matrix: | ||||
|     - VERSION=2.7.7 | ||||
|     - VERSION=3.3.5 | ||||
|  | @ -12,8 +13,10 @@ install: | |||
|     - get_python_environment macpython $VERSION venv | ||||
|     - pip install delocate | ||||
|     - cd Pillow | ||||
|     # Needs patch for python3 / homebrew detection | ||||
|     - patch -p1 < ../pillow.patch | ||||
|     - if [ -n "$LATEST_TAG" ]; then | ||||
|       git fetch --tags ; | ||||
|       git checkout `git describe --abbrev=0 --tags` ; | ||||
|       fi | ||||
|     - python setup.py bdist_wheel | ||||
|     - delocate-wheel dist/*.whl | ||||
|     - rename_wheels dist/*.whl | ||||
|  |  | |||
							
								
								
									
										40
									
								
								README.rst
									
									
									
									
									
								
							
							
						
						
									
										40
									
								
								README.rst
									
									
									
									
									
								
							|  | @ -1,26 +1,38 @@ | |||
| #################### | ||||
| Pillow wheel builder | ||||
| #################### | ||||
| ######################## | ||||
| Pillow OSX wheel builder | ||||
| ######################## | ||||
| 
 | ||||
| Repository to build OSX wheels for Pillow. | ||||
| Repository to build Pillow wheels. | ||||
| 
 | ||||
| By default, this repo builds the most recent tagged version of the Pillow | ||||
| repo. If you want to build a specific version, unset ``LATEST_TAG`` in the | ||||
| ``.travis.yml`` file, and update the Pillow submodule to the version you | ||||
| want to build. | ||||
| 
 | ||||
| To update: | ||||
| 
 | ||||
| * Update Pillow with version you want to build: | ||||
| * Update Pillow submodule with version you want to build: | ||||
| 
 | ||||
|     * cd Pillow && git pull && git checkout DESIRED_TAG | ||||
|     * cd .. && git add Pillow | ||||
|     * cd Pillow | ||||
|     * git pull && git checkout DESIRED_TAG | ||||
|     * cd .. | ||||
|     * git add Pillow | ||||
|     * git commit | ||||
| 
 | ||||
| where "DESIRED_TAG" is a Pillow git tag like "2.4.0". | ||||
| * Check minimum numpy versions to build against in ``.travis.yml`` file.  You | ||||
|   need to build against the earliest numpy that Pillow is compatible with; | ||||
|   see `forward, backward numpy compatibility | ||||
|   <http://stackoverflow.com/questions/17709641/valueerror-numpy-dtype-has-the-wrong-size-try-recompiling/18369312#18369312>`_ | ||||
| 
 | ||||
| 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>`_ | ||||
| pointed to by http://wheels.scipy-image.org.  The credentials for this container | ||||
| are encrypted to this specific 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/Pillow-ci-wheel-builder>`_ | ||||
| 
 | ||||
| I got the rackspace password from Olivier Grisel - we might be able to share | ||||
| I got the rackspace credentials 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. | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	Block a user