view setup.py @ 93:bdb9e39abd84

make a proper python script for discovery and extension
author Jeff Hammel <k0scist@gmail.com>
date Sun, 21 Aug 2016 19:27:10 -0700
parents c382bdd01751
children 50dafcaa588d
line wrap: on
line source

from setuptools import setup

# use README as long_description
try:
    description = file("README.txt").read()
except IOError:
    description = ''

version = '0.13.1'

setup(name='decoupage',
      version=version,
      description="Decoupage is the art of decorating an object by gluing colored paper cutouts onto it in combination with special paint effects ... The software decoupage lets you stitch together index pages from filesystem content",
      long_description=description,
      classifiers=[], # Get strings from http://www.python.org/pypi?%3Aaction=list_classifiers
      author='Jeff Hammel',
      author_email='k0scist@gmail.com',
      url='http://k0s.org/hg/decoupage',
      license="GPL",
      packages=['decoupage'],
      include_package_data=True,
      zip_safe=False,
      install_requires=[
          # -*- Extra requirements: -*-
          'WebOb',
          'Paste',
          'PasteScript',
          'genshi',
          'martINI>=0.4',
          'contenttransformer>=0.3.3',
          'PyRSS2Gen',
         ],
      dependency_links=['http://www.dalkescientific.com/Python/PyRSS2Gen-1.0.0.tar.gz#egg=PyRSS2Gen'],
      entry_points="""
      [console_scripts]
      create-decoupage-index = decoupage.create_index:main
      decoupage-templates = decoupage.templates:main
      decoupage-formatters = decoupage.formatters:main
      decoupage = decoupage.cli:main

      [paste.app_factory]
      main = decoupage.factory:factory

      [decoupage.formats]
      json = decoupage.formats:JSON
      rss = decoupage.formats:RSS

      [decoupage.formatters]
      all = decoupage.formatters:All
      css = decoupage.formatters:CSS
      datestamp = decoupage.formatters:Datestamp
      directory = decoupage.formatters:DirectoryIndicator
      describe = decoupage.formatters:FilenameDescription
      icon = decoupage.formatters:Favicon
      ignore = decoupage.formatters:Ignore
      include = decoupage.formatters:Include
      links = decoupage.formatters:Links
      order = decoupage.formatters:Order
      scripts = decoupage.formatters:JavaScript
      sort = decoupage.formatters:Sort
      title = decoupage.formatters:TitleDescription
      up = decoupage.formatters:Up
      """,
      )