view setup.py @ 108:e2f7dccbac26

py3
author Jeff Hammel <k0scist@gmail.com>
date Tue, 03 Nov 2020 13:33:39 -0800
parents c5b9c9ba42eb
children
line wrap: on
line source

from setuptools import setup, find_packages
import sys, os

version = '2.4.5'

try:
    description = open('README.txt').read()
except IOError:
    description = """
Meet bitsyblog.  Posting is done with a POST request, so while you can use
a web form to do this, its just as easy to use curl, urllib, or anything else
to post.
"""

setup(name='bitsyblog',
      version=version,
      description="a tiny tiny blog",
      long_description=description,
      classifiers=[], # Get strings from http://pypi.python.org/pypi?%3Aaction=list_classifiers
      keywords='blog',
      author='Jeff Hammel',
      author_email='k0scist@gmail.com',
      url='http://k0s.org/blog',
      license='GPL',
      packages=find_packages(exclude=['ez_setup', 'examples', 'tests']),
      include_package_data=True,
      zip_safe=False,
      install_requires=[
          # -*- Extra requirements: -*-
          'WebOb',
          'Paste',
          'PasteScript',
          'python-dateutil',
          'PyRSS2Gen',
          'docutils',
          'genshi',
          'bitsyauth'
#          'lxml',
      ],
      dependency_links=[
        'http://svn.pythonpaste.org/Paste/trunk#egg=Paste',
        'http://www.dalkescientific.com/Python/PyRSS2Gen-1.0.0.tar.gz#egg=PyRSS2Gen'
        ],
      entry_points="""
      # -*- Entry points: -*-
      [console_scripts]
      blog = bitsyblog.blogme:main
      create-bitsyblog = bitsyblog.cli:main

      [paste.app_factory]
      main = bitsyblog.factory:factory
      """,
      )