setup.py

Mon, 09 May 2011 15:25:14 +0100

author
Andy Buckley <andy@insectnation.org>
date
Mon, 09 May 2011 15:25:14 +0100
changeset 21
71e18d3b1685
parent 19
14161f1492a4
child 24
02f21810d43d
permissions
-rwxr-xr-x

Adding declaration of Cheetah and PIL dependences, and update both version numbers

andy@13 1 #! /usr/bin/env python
andy@13 2
andy@15 3 """\
andy@13 4 emin is a script used to make static HTML-based galleries of
andy@13 5 photos, PDFs, diagrams... anything, really. It's primarily
andy@13 6 intended for making Web photo galleries for the sorts of
andy@13 7 people who don't want to install some PHP monstrosity just
andy@15 8 to put their photos online. On the assumption that most people
andy@13 9 will want to tweak their gallery's appearance, the output is
andy@15 10 fully customisable using the Cheetah templating engine.
andy@13 11
andy@13 12 Supported image formats are JPEG, PNG, GIF, TIFF, PDF and EPS,
andy@13 13 with the latter two being converted to PNG for Web display.
andy@13 14 Image resizing, renaming and thumbnailing is supported, as is
andy@13 15 building a zip file to download the whole set. Large image sets
andy@13 16 can be split over several pages.
andy@13 17 """
andy@13 18
andy@15 19 ## Get setuptools stuff
andy@19 20 from distutils.core import setup
andy@15 21
andy@15 22
andy@13 23 ## Setup definition
andy@13 24 setup(name = 'emin',
andy@21 25 version = "0.3.3",
andy@13 26 scripts = ['emin'],
andy@21 27 requires = ["Cheetah", "PIL"],
andy@18 28 author = 'Andy Buckley',
andy@13 29 author_email = 'andy@insectnation.org',
andy@13 30 #url = 'http://www.insectnation.org/projects/emin/',
andy@13 31 description = 'A simple builder of static Web galleries.',
andy@15 32 long_description = __doc__,
andy@13 33 keywords = 'photo gallery web www html template',
andy@13 34 license = 'GPL',
andy@13 35 classifiers = ['Development Status :: 4 - Beta',
andy@18 36 'Environment :: Console',
andy@13 37 'License :: OSI Approved :: GNU General Public License (GPL)',
andy@13 38 'Operating System :: OS Independent',
andy@13 39 'Programming Language :: Python']
andy@13 40 )

mercurial