-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
executable file
·76 lines (68 loc) · 2.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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
#!/usr/bin/env python
# -*- coding: utf-8 -*-
# ---------------------------------------------------------------------
# Copyright (c) Merchise Autrement [~º/~] and Contributors
# All rights reserved.
#
# This is free software; you can do what the LICENCE file allows you to.
#
import os
import versioneer
from setuptools import setup, find_packages
# Import the version from the release module
project_name = "xoeuf"
_current_dir = os.path.dirname(os.path.abspath(__file__))
def safe_read(*paths):
fname = os.path.join(_current_dir, *paths)
try:
with open(fname, "r") as fh:
return fh.read()
except OSError:
return ""
setup(
name=project_name,
version=versioneer.get_version(),
description="Basic utilities for OpenERP Open Object Services",
long_description=safe_read("docs", "readme.txt"),
cmdclass=versioneer.get_cmdclass(),
# Get more strings from
# http://pypi.python.org/pypi?:action=list_classifiers
classifiers=[
"Programming Language :: Python",
"Intended Audience :: Developers",
"License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)", # noqa
"Development Status :: 4 - Beta",
],
keywords="openerp open-object server library".split(),
author="Merchise Autrement [~º/~]",
author_email="",
url="http://www.merchise.org/",
license="GPL",
packages=find_packages(exclude=["ez_setup", "examples", "tests"]),
include_package_data=True,
zip_safe=False,
install_requires=[
"pytz",
"decorator>=4.0,<4.2",
"xotl.tools>=1.9.0,<2.3",
'ipython<6; python_version < "3"',
'ipython; python_version >= "3"',
'enum34; python_version < "3.4"',
"celery>=4.1.0,<6",
'typing;python_version<"3.5"',
"expiringdict~=1.2.0",
'dataclasses;python_version<"3.7"',
],
extra_requires={
"odoo": ['odoo>=12.0,<13.0; python_version >= "3.5"'],
"test": ["hypothesis>=3.7.0,<6.38"],
},
python_requires=">=3.6",
entry_points="""
[console_scripts]
xoeuf = xoeuf.cli.server:server
xoeuf_mailgate = xoeuf.cli.mailgate:main
[xoeuf.addons]
test_localized_dt = xoeuf.tests.test_localized_dt
""",
)