forked from ankushshah89/python-docx2txt
-
Notifications
You must be signed in to change notification settings - Fork 4
/
setup.py
34 lines (29 loc) · 956 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
32
33
34
import os
import glob
from distutils.core import setup
from docxpy import VERSION
# get all of the scripts
scripts = glob.glob('bin/*')
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
setup(
name='docxpy',
packages=['docxpy'],
version=VERSION,
description='A pure python-based utility to extract text, hyperlinks and images'
'from docx files.',
long_description=open("README.rst").read(),
author='Ankush Shah, Yalei Du',
author_email='[email protected]',
url='https://github.com/badbye/docxpy',
keywords=['python', 'docx', 'text', 'links', 'images', 'extract'],
scripts=scripts,
test_suite='nose.collector',
tests_require=['nose'],
classifiers=[
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3.3",
"Programming Language :: Python :: 3.4",
"Programming Language :: Python :: 3.5"
]
)