Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace subprocess.call with os.rename #59

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
81 changes: 0 additions & 81 deletions .travis.yml

This file was deleted.

13 changes: 13 additions & 0 deletions .version.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
GIT:
AUTO_COMMIT: true
AUTO_TAG: true
AUTO_PUSH: true # false=disabled, true=enabled, 'remote_name'=enabled and push to remote_name
COMMIT_MESSAGE: 'New version {version}'

REGEXPS:
'python': __version__\s*=\s*\'(?P<major>\d+)\.(?P<minor>\d+)\.(?P<patch>\d+)\'
'setup.py': version\s*=\s*\'(?P<major>\d+)\.(?P<minor>\d+)\.(?P<patch>\d+)\'

VERSION_FILES:
'flask_images/__init__.py': 'python'
'setup.py': 'setup.py'
7 changes: 1 addition & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,10 @@
Flask-Images
============

[![Travis Build Status][travis-badge]][travis]

Flask-Images is a Flask extension that provides dynamic image resizing for your application.

[Read the docs][docs], [try the demo][demo], have fun, and good luck!
[Read the docs][docs], have fun, and good luck!


[travis-badge]: https://img.shields.io/travis/mikeboers/Flask-Images/develop.svg?logo=travis&label=travis
[travis]: https://travis-ci.org/mikeboers/Flask-Images

[docs]: https://mikeboers.github.io/Flask-Images/
[demo]: https://flask-images.herokuapp.com/
2 changes: 2 additions & 0 deletions flask_images/__init__.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
__version__ = '4.0.1'

from .core import Images, resized_img_src, resized_img_size, resized_img_attrs, resized_img_tag
from .size import ImageSize
Loading