forked from peterbe/premailer
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
53 lines (46 loc) · 1.54 KB
/
setup.py
File metadata and controls
53 lines (46 loc) · 1.54 KB
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
41
42
43
44
45
46
47
48
49
50
51
52
53
import os
from setuptools import setup, find_packages
version = '1.12'
README = os.path.join(os.path.dirname(__file__), 'README.md')
long_description = open(README).read().strip() + "\n\n"
def md2stx(s):
import re
s = re.sub(':\n(\s{8,10})', r'::\n\1', s)
return s
long_description = md2stx(long_description)
setup(name='premailer',
version=version,
description="Turns CSS blocks into style attributes",
long_description=long_description,
keywords='html lxml email mail style',
author='Peter Bengtsson',
author_email='peter@fry-it.com',
url='http://github.com/peterbe/premailer',
download_url='http://github.com/peterbe/premailer',
license='Python',
classifiers=[
"Development Status :: 5 - Production/Stable",
"Environment :: Other Environment",
"Environment :: Web Environment",
"Intended Audience :: Developers",
"License :: OSI Approved :: Python Software Foundation License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Topic :: Communications",
"Topic :: Internet :: WWW/HTTP",
"Topic :: Other/Nonlisted Topic",
"Topic :: Software Development :: Libraries :: Python Modules",
],
packages=find_packages(),
include_package_data=True,
test_suite='nose.collector',
tests_require=['Nose'],
zip_safe=True,
install_requires=[
'lxml',
'cssselect',
],
entry_points="""
# -*- Entry points: -*-
""",
)