This repository has been archived by the owner on May 10, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 38
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Conflicts: README.md
- Loading branch information
Showing
5 changed files
with
45 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,4 +2,5 @@ language: python | |
python: | ||
- "2.7" | ||
- "2.6" | ||
install: "pip install -r requirements.txt" | ||
script: nosetests |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
#!/bin/sh | ||
|
||
P=folders2flickr | ||
V=$(git describe) | ||
exifpymd5=fb99ecc1919494600aa6965ffb41dd60 | ||
|
||
tempdir=$(mktemp -d) | ||
trap "rm -rf $tempdir" EXIT | ||
outdir=$tempdir/$P-$V | ||
exifpyversion=$(awk -F= '/ExifRead/ {print $3}' requirements.txt) | ||
exifpy=${exifpyversion}.tar.gz | ||
mkdir $outdir | ||
|
||
wget -q https://github.com/ianare/exif-py/archive/$exifpy -O $tempdir/$exifpy || exit 1 | ||
echo "$exifpymd5 $tempdir/$exifpy" | md5sum -c - || exit 1 | ||
tar -C $outdir -xf $tempdir/$exifpy exif-py-$exifpyversion/exifread/ --strip-components=1 | ||
tar -C $outdir -xf $tempdir/$exifpy exif-py-$exifpyversion/LICENSE.txt | ||
git archive --format=tar HEAD | tar -C $outdir -x | ||
|
||
here=$PWD | ||
cd $tempdir | ||
zip -r -o $here/$P-$V.zip $P-$V | ||
cd - | ||
rm -rf $tempdir |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
ExifRead==1.4.2 |