-
-
Notifications
You must be signed in to change notification settings - Fork 460
/
setup.py
86 lines (82 loc) · 3.31 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
77
78
79
80
81
82
83
84
85
86
# License AGPLv3 (https://www.gnu.org/licenses/agpl-3.0-standalone.html)
import os
import setuptools
here = os.path.dirname(os.path.abspath(__file__))
with open(os.path.join(here, "README.md")) as f:
long_description = f.read()
setuptools.setup(
name="oca-maintainers-tools",
author="Odoo Community Association (OCA)",
description="Set of tools to help managing Odoo Community projects",
long_description=long_description,
license="AGPL3",
packages=["tools"],
include_package_data=True,
zip_safe=False,
use_scm_version=True,
setup_requires=[
"setuptools_scm",
],
install_requires=[
"appdirs",
"click",
"docutils",
"pypandoc", # for oca-gen-addon-readme to work with markdown fragments
"ERPpeek",
"freezegun",
"github3.py>=1",
"jinja2",
"manifestoo-core>=1.1",
"PyYAML",
"polib",
"pygments",
"requests",
"toml>=0.10.0", # for oca-towncrier
"tomli ; python_version < '3.11'", # from 3.11 tomllib is in stdlib
"towncrier>=21.3; python_version < '3.8'", # for oca-towncrier
# for oca-towncrier with MarkDow support
"towncrier>=23.11; python_version >= '3.8'",
"selenium",
"twine",
"wheel",
"pyproject_dependencies ; python_version>='3.7'",
"setuptools-odoo", # for oca-gen-external-dependencies
"whool", # for oca-gen-external-dependencies
],
python_requires=">=3.6",
classifiers=[
"Development Status :: 4 - Beta",
"Environment :: Console",
"Intended Audience :: Developers",
"Intended Audience :: Information Technology",
"License :: OSI Approved :: "
"GNU Affero General Public License v3 or later (AGPLv3+)",
"Operating System :: POSIX :: Linux",
"Programming Language :: Python",
],
entry_points={
"console_scripts": [
"oca-github-login = tools.github_login:main",
"oca-copy-maintainers = tools.copy_maintainers:main",
"oca-clone-everything = tools.clone_everything:main",
"oca-set-repo-labels = tools.set_repo_labels:main",
"oca-odoo-login = tools.odoo_login:main",
"oca-sync-users = tools.oca_sync_users:main",
"oca-gen-addons-table = tools.gen_addons_table:gen_addons_table",
"oca-migrate-branch = tools.migrate_branch:main",
"oca-migrate-branch-empty = tools.migrate_branch_empty:main",
"oca-publish-modules = tools.publish_modules:main",
"oca-gen-addon-readme = tools.gen_addon_readme:gen_addon_readme",
"oca-gen-addon-icon = tools.gen_addon_icon:gen_addon_icon",
"oca-gen-external-dependencies = tools.gen_external_dependencies:main",
"oca-gen-metapackage = tools.gen_metapackage:main",
"oca-towncrier = tools.oca_towncrier:oca_towncrier",
"oca-create-migration-issue = tools.create_migration_issue:main",
"oca-update-pre-commit-excluded-addons = "
"tools.update_pre_commit_excluded_addons:main",
"oca-fix-manifest-website = tools.fix_manifest_website:main",
"oca-configure-travis= tools.configure_travis:main",
"oca-copier-update = tools.copier_update:main",
],
},
)