adb3d40c03
This commit also introduces a new db which maps path to thread title. The title is read by parsing the HTML for a related <h1> tag using `html5lib`. You can set up SMTP in your configuration (here the defaults): [SMTP] host = localhost port = 465 ssl = on username = password = recipient = sender = In short, by default Isso uses a local SMTP server using SSL without any authentication. An email is send on comment creation to "recipient" from "Ich schrei sonst <sender>". This commit also uses a simple ANSI colorization module from my static blog compiler project. On server startup, Isso will connect to the SMTP server and fall back to a null mailer. It also tries to connect to your website, so if that doesn't work, you probably can't comment on your website either.
32 lines
954 B
Python
32 lines
954 B
Python
#!/usr/bin/env python
|
|
# -*- encoding: utf-8 -*-
|
|
|
|
from setuptools import setup, find_packages
|
|
|
|
setup(
|
|
name='isso',
|
|
version='0.1',
|
|
author='Martin Zimmermann',
|
|
author_email='info@posativ.org',
|
|
packages=find_packages(),
|
|
include_package_data=True,
|
|
zip_safe=True,
|
|
url='https://github.com/posativ/isso/',
|
|
license='BSD revised',
|
|
description='lightweight Disqus alternative',
|
|
classifiers=[
|
|
"Development Status :: 3 - Alpha",
|
|
"Topic :: Internet",
|
|
"Topic :: Internet :: WWW/HTTP :: HTTP Servers",
|
|
"Topic :: Internet :: WWW/HTTP :: WSGI :: Application",
|
|
"License :: OSI Approved :: BSD License",
|
|
"Programming Language :: Python :: 2.6",
|
|
"Programming Language :: Python :: 2.7"
|
|
],
|
|
install_requires=['Jinja2>=2.7', 'werkzeug>=0.9', 'itsdangerous', 'misaka', 'html5lib'],
|
|
entry_points={
|
|
'console_scripts':
|
|
['isso = isso:main'],
|
|
},
|
|
)
|