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

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

mercurial