forked from acsone/setuptools-odoo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
52 lines (46 loc) · 1.8 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
# -*- coding: utf-8 -*-
# Copyright © 2015-2017 ACSONE SA/NV
# License LGPLv3 (http://www.gnu.org/licenses/lgpl-3.0-standalone.html)
import io
import os
import setuptools
here = os.path.abspath(os.path.dirname(__file__))
long_description = []
with io.open(os.path.join("README.rst"), encoding="utf-8") as f:
long_description.append(f.read())
with io.open(os.path.join("CHANGES.rst"), encoding="utf-8") as f:
long_description.append(f.read())
setuptools.setup(
name="setuptools-odoo",
use_scm_version=True,
description="A library to help package Odoo addons with setuptools",
long_description="\n".join(long_description),
classifiers=[
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"License :: OSI Approved :: " "GNU Lesser General Public License v3 (LGPLv3)",
"Operating System :: POSIX", # because we use symlinks
"Programming Language :: Python",
"Framework :: Odoo",
],
license="LGPLv3",
author="ACSONE SA/NV",
author_email="[email protected]",
url="http://github.com/acsone/setuptools-odoo",
packages=["setuptools_odoo"],
include_package_data=True,
install_requires=["setuptools", "setuptools_scm>=2.1,!=4.0.0"],
python_requires=">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*",
setup_requires=["setuptools-scm!=4.0.0"],
test_suite="tests",
entry_points={
"console_scripts": [
"setuptools-odoo-make-default=" "setuptools_odoo.make_default_setup:main",
"setuptools-odoo-get-requirements=" "setuptools_odoo.get_requirements:main",
],
"distutils.setup_keywords": [
"odoo_addon = setuptools_odoo.setup_keywords:odoo_addon",
"odoo_addons = setuptools_odoo.setup_keywords:odoo_addons",
],
},
)