diff --git a/LICENSE.txt b/LICENSE.txt new file mode 100644 index 0000000..905cf02 --- /dev/null +++ b/LICENSE.txt @@ -0,0 +1,19 @@ +Copyright (c) 2016 Ville Rantanen + +Permission is hereby granted, free of charge, to any person obtaining a copy of +this software and associated documentation files (the "Software"), to deal in +the Software without restriction, including without limitation the rights to +use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies +of the Software, and to permit persons to whom the Software is furnished to do +so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/qalbum/__init__.py b/qalbum/__init__.py new file mode 100644 index 0000000..a2d1064 --- /dev/null +++ b/qalbum/__init__.py @@ -0,0 +1 @@ +from Qalbum import * diff --git a/scripts/Qalbum b/scripts/Qalbum new file mode 100755 index 0000000..66c4ea4 --- /dev/null +++ b/scripts/Qalbum @@ -0,0 +1,11 @@ +#!/usr/bin/python + +# -*- coding: utf-8 -*- +import re +import sys + +from qalbum import execute_plain + +if __name__ == '__main__': + #sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) + sys.exit(execute_plain()) diff --git a/setup.cfg b/setup.cfg new file mode 100644 index 0000000..b88034e --- /dev/null +++ b/setup.cfg @@ -0,0 +1,2 @@ +[metadata] +description-file = README.md diff --git a/setup.py b/setup.py new file mode 100644 index 0000000..7365f39 --- /dev/null +++ b/setup.py @@ -0,0 +1,19 @@ +from distutils.core import setup +setup( + name = 'qalbum', + packages = ['qalbum'], + scripts = ['scripts/Qalbum', + 'scripts/Qalbum-thumbnailer', + 'scripts/Qalbum-descriptor'], + package_data={'':['lib/*']}, + include_package_data=True, + version = '2.20161005', + description = 'A tool to create a web gallery from a folder structure of images / other files.', + author = 'Ville Rantanen', + author_email = 'ville.q.rantanen@gmail.com', + url = 'https://bitbucket.org/MoonQ/qalbum', + download_url = 'https://bitbucket.org/MoonQ/qalbum/get/tip.tar.gz', + keywords = ['album', 'generator', 'javascript'], + classifiers = [], + license = 'MIT', +)