forked from OCA/maintainer-tools
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
78 lines (74 loc) · 2.68 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
# License AGPLv3 (http://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='APGL3',
packages=['tools'],
include_package_data=True,
use_scm_version=True,
setup_requires=[
'setuptools_scm',
],
install_requires=[
'appdirs',
'argparse',
'autopep8',
'click',
'docutils',
'ERPpeek',
'github3.py',
'inflection',
'jinja2',
'PyYAML',
'polib',
'pygments',
'requests',
'setuptools-odoo>=2.1',
'slumber',
'twine',
'wheel',
# We keep setuptools<31 as long as we can, so
# generated wheel continue to work for Odoo 10
# without odoo-autodiscover 2.
# https://github.com/odoo/odoo/pull/15718
'setuptools<31',
],
python_requires='>=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*',
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-autopep8 = tools.autopep8_extended:main',
'oca-tx-pull = tools.tx_pull:main',
'oca-gen-addons-table = tools.gen_addons_table:main',
'oca-gen-all-addons-tables = tools.gen_all_addons_tables:main',
'oca-migrate-branch = tools.migrate_branch:main',
'oca-migrate-branch-empty = tools.migrate_branch_empty:main',
'oca-main-branch-bot = tools.main_branch_bot:main',
'oca-pypi-upload = tools.pypi_upload:cli',
'oca-dist-to-simple-index = tools.dist_to_simple_index:main',
'oca-gen-addon-readme = tools.gen_addon_readme:gen_addon_readme',
],
},
)