Files
@ 2465f2645e2e
Branch filter:
Location: symposion_app/vendor/registripe/setup.py - annotation
2465f2645e2e
1.0 KiB
text/x-python
urlize abstracts
I've looked through the database and I can't find any accepted
proposals that actually contain anything to linkify - but I've had
several requests from people that I think are reasonable, things like
being able to link to their project (we ask them to provide a project
url but we don't use that link)
This seems like a reasonably fast way to let those people add a
link. We still have to manually accept changes to their proposal so we
have a chance to look at the content of the url if we want.
The urlize filter adds rel=nofollow to the link automatically.
I've looked through the database and I can't find any accepted
proposals that actually contain anything to linkify - but I've had
several requests from people that I think are reasonable, things like
being able to link to their project (we ask them to provide a project
url but we don't use that link)
This seems like a reasonably fast way to let those people add a
link. We still have to manually accept changes to their proposal so we
have a chance to look at the content of the url if we want.
The urlize filter adds rel=nofollow to the link automatically.
660690c5cf82 660690c5cf82 660690c5cf82 660690c5cf82 660690c5cf82 660690c5cf82 660690c5cf82 660690c5cf82 660690c5cf82 660690c5cf82 660690c5cf82 660690c5cf82 660690c5cf82 660690c5cf82 660690c5cf82 660690c5cf82 660690c5cf82 660690c5cf82 660690c5cf82 660690c5cf82 660690c5cf82 660690c5cf82 660690c5cf82 660690c5cf82 660690c5cf82 660690c5cf82 660690c5cf82 660690c5cf82 660690c5cf82 660690c5cf82 660690c5cf82 660690c5cf82 660690c5cf82 660690c5cf82 660690c5cf82 | #!/usr/bin/env python
import os
from setuptools import setup, find_packages
import registripe
def read_file(filename):
"""Read a file into a string."""
path = os.path.abspath(os.path.dirname(__file__))
filepath = os.path.join(path, filename)
try:
return open(filepath).read()
except IOError:
return ''
setup(
name="registrasion-stripe",
author="Christopher Neugebauer",
author_email="_@chrisjrn.com",
version=registripe.__version__,
description="Stripe-based payments for the Registrasion conference registration package.",
url="http://github.com/chrisjrn/registrasion-stripe/",
packages=find_packages(),
include_package_data=True,
classifiers=(
"Development Status :: 3 - Alpha",
"Programming Language :: Python",
"Framework :: Django",
"Intended Audience :: Developers",
"Natural Language :: English",
"License :: OSI Approved :: Apache Software License",
),
install_requires=read_file("requirements.txt").splitlines(),
)
|