forked from mwilliamson/python-mammoth
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.py
32 lines (25 loc) · 806 Bytes
/
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
#!/usr/bin/env python
import os
import sys
from distutils.core import setup
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
_install_requires = [
"parsimonious>=0.5,<0.6",
"dodge>=0.1.5,<0.2",
]
if sys.version_info[:2] <= (2, 6):
_install_requires.append("argparse>=1.1,<2.0")
setup(
name='mammoth',
version='0.2.0-dev',
description='Convert Word documents to simple and clean HTML',
long_description=read("README.md"),
author='Michael Williamson',
author_email='[email protected]',
url='http://github.com/mwilliamson/python-mammoth',
packages=['mammoth', 'mammoth.docx', 'mammoth.style_reader'],
scripts=["scripts/mammoth"],
keywords="docx word office clean html",
install_requires=_install_requires,
)