setup.py

Mon, 09 May 2011 15:15:46 +0100

author
Andy Buckley <andy@insectnation.org>
date
Mon, 09 May 2011 15:15:46 +0100
changeset 19
14161f1492a4
parent 18
9d37f8872366
child 21
71e18d3b1685
permissions
-rwxr-xr-x

Improving setup script by removing dependence on setuptools

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@19 25 version = "0.3.2",
andy@13 26 scripts = ['emin'],
andy@18 27 author = 'Andy Buckley',
andy@13 28 author_email = 'andy@insectnation.org',
andy@13 29 #url = 'http://www.insectnation.org/projects/emin/',
andy@13 30 description = 'A simple builder of static Web galleries.',
andy@15 31 long_description = __doc__,
andy@13 32 keywords = 'photo gallery web www html template',
andy@13 33 license = 'GPL',
andy@13 34 classifiers = ['Development Status :: 4 - Beta',
andy@18 35 'Environment :: Console',
andy@13 36 'License :: OSI Approved :: GNU General Public License (GPL)',
andy@13 37 'Operating System :: OS Independent',
andy@13 38 'Programming Language :: Python']
andy@13 39 )

mercurial