forked from XLSForm/pyxform
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
45 lines (43 loc) · 1.24 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
41
42
43
44
45
# -*- coding: utf-8 -*-
"""
pyxform - Python library that converts XLSForms to XForms.
"""
from setuptools import find_packages, setup
REQUIRES = [
"xlrd>=1.1.0",
"unicodecsv>=0.14.1",
"formencode",
"unittest2",
'functools32==3.2.3.post2 ; python_version < "3.2"',
]
setup(
name="pyxform",
version="0.13.1",
author="github.com/xlsform",
author_email="[email protected]",
packages=find_packages(),
package_data={
"pyxform.validators.odk_validate": ["bin/*.*"],
"pyxform.tests": [
"example_xls/*.*",
"fixtures/strings.ini",
"bug_example_xls/*.*",
"test_output/*.*",
"test_expected_output/*.*",
"validators/.*",
"validators/data/*.*",
"validators/data/.*",
],
"pyxform": ["iana_subtags.txt"],
},
url="http://pypi.python.org/pypi/pyxform/",
description="A Python package to create XForms for ODK Collect.",
long_description=open("README.rst", "rt").read(),
install_requires=REQUIRES,
entry_points={
"console_scripts": [
"xls2xform=pyxform.xls2xform:main_cli",
"pyxform_validator_update=pyxform.validators.updater:main_cli",
]
},
)