forked from samuel/python-scrubber
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
executable file
·40 lines (36 loc) · 1.16 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
#!/usr/bin/env python
from setuptools import setup
# Get the version, but make sure to create a fake BeautifulSoup module just
# in case it isn't installed.
import imp
import sys
mod = imp.new_module("BeautifulSoup")
mod.BeautifulSoup = None
mod.Comment = None
sys.modules["BeautifulSoup"] = mod
from scrubber import __version__ as version
try:
long_description = open("README.rst").read()
except IOError:
long_description = ""
setup(
name = 'scrubber',
version = version,
description = 'A whitelisting HTML sanitizer',
long_description = long_description,
author = 'Samuel Stauffer',
author_email = '[email protected]',
url = 'http://github.com/samuel/python-scrubber/tree/master',
install_requires = ["BeautifulSoup"],
packages = ['scrubber'],
license = "BSD",
classifiers = [
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Topic :: Software Development',
'Topic :: Software Development :: Libraries',
'Topic :: Software Development :: Libraries :: Python Modules',
],
)