1#!/usr/bin/env python
2# -*- coding: utf-8 -*-
3
4from setuptools import find_packages, setup
5from os.path import join, dirname
6
7
8exec(open(join(dirname(__file__), 'odoo', 'release.py'), 'rb').read())  # Load release variables
9lib_name = 'odoo'
10
11setup(
12    name='odoo',
13    version=version,
14    description=description,
15    long_description=long_desc,
16    url=url,
17    author=author,
18    author_email=author_email,
19    classifiers=[c for c in classifiers.split('\n') if c],
20    license=license,
21    scripts=['setup/odoo'],
22    packages=find_packages(),
23    package_dir={'%s' % lib_name: 'odoo'},
24    include_package_data=True,
25    install_requires=[
26        'babel >= 1.0',
27        'decorator',
28        'docutils',
29        'feedparser',
30        'gevent',
31        'html2text',
32        'idna',
33        'Jinja2',
34        'lxml',  # windows binary http://www.lfd.uci.edu/~gohlke/pythonlibs/
35        'libsass',
36        'mako',
37        'mock',
38        'ofxparse',
39        'passlib',
40        'pillow',  # windows binary http://www.lfd.uci.edu/~gohlke/pythonlibs/
41        'polib',
42        'psutil',  # windows binary code.google.com/p/psutil/downloads/list
43        'psycopg2 >= 2.2',
44        'pydot',
45        'pypdf2',
46        'pyserial',
47        'python-dateutil',
48        'python-stdnum',
49        'pytz',
50        'pyusb >= 1.0.0b1',
51        'qrcode',
52        'reportlab',  # windows binary pypi.python.org/pypi/reportlab
53        'requests',
54        'zeep',
55        'vobject',
56        'werkzeug',
57        'xlsxwriter',
58        'xlwt',
59    ],
60    python_requires='>=3.6',
61    extras_require={
62        'ldap': ['python-ldap'],
63        'SSL': ['pyopenssl'],
64    },
65    tests_require=[
66        'freezegun',
67    ],
68)
69