forked from invoice-x/invoice2data
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
37 lines (36 loc) · 1.12 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
# -*- coding: utf-8 -*-
from setuptools import setup, find_packages
from os import path
import sys
setup(
name='invoice2data',
version='0.2.101',
author='Manuel Riel',
author_email='[email protected]',
url='https://github.com/m3nu/invoice2data',
description='Python parser to extract data from pdf invoice',
license="MIT",
long_description=open(path.join(path.dirname(__file__), 'README.rst')).read(),
package_data = {
'invoice2data.extract': [
'templates/com/*.yml',
'templates/de/*.yml',
'templates/es/*.yml',
'templates/fr/*.yml',
'templates/nl/*.yml',
'templates/ch/*.yml'],
'invoice2data.test': ['pdfs/*.pdf']
},
packages=find_packages(),
install_requires=[
r.strip() for r in open(
path.join(path.dirname(__file__), 'requirements.txt')
).read().splitlines() if not r.startswith('#')
],
zip_safe=False,
entry_points = {
'console_scripts': [
'invoice2data = invoice2data.main:main',
],
},
)