view setup.py @ 10:2fc286e008f5

py3
author Jeff Hammel <k0scist@gmail.com>
date Tue, 24 Nov 2020 13:05:51 -0800
parents bf5386d3c7e4
children c6800e0b01ed
line wrap: on
line source

from setuptools import setup

try:
    description = open('README.txt').read()
except IOError:
    description = ''

version = "0.4"

# dependencies
dependencies = [
    'WebOb',
    'tempita',
    'paste',
    'pastescript', # technically optional, but here for ease of install
    'whoosh >= 2.5',
    'couchdb',
    'docutils',
    'pyloader',
    'theslasher',
    'pyes',
    ]

setup(name='toolk0s',
      version=version,
      description="a place to list links + tools",
      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/toolbox/',
      license="MPL",
      packages=['toolbox'],
      include_package_data=True,
      zip_safe=False,
      install_requires=dependencies,
      entry_points="""
      # -*- Entry points: -*-
      [console_scripts]
      toolbox-convert-model = toolbox.model:convert
      toolbox-serve = toolbox.factory:main

      [paste.app_factory]
      toolbox = toolbox.factory:paste_factory
      """,
)