-
-
Notifications
You must be signed in to change notification settings - Fork 62
/
setup.py
63 lines (59 loc) · 1.71 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
import os
from setuptools import find_packages, setup
here = os.path.abspath(os.path.dirname(__file__))
with open(os.path.join(here, "README.rst"), encoding="utf-8") as f:
long_description = f.read()
setup(
name="oca-github-bot",
use_scm_version=True,
long_description=long_description,
author="Odoo Community Association (OCA)",
author_email="[email protected]",
url="https://github.com/OCA/oca-github-bot",
python_requires="==3.12.*",
setup_requires=["setuptools_scm"],
packages=find_packages("src"),
package_dir={"": "src"},
install_requires=[
# aiohttp ang gitgethub for the webhook app
"aiohttp",
"gidgethub",
"appdirs",
# GitHub client
"github3.py>=1.3.0",
# celery and celery monitoring for the task queue
"flower",
"celery[redis]",
# Odoo
"odoorpc",
# Sentry SDK (<2 because we use an old version of self-hosted Sentry)
"sentry-sdk[celery]<2",
# twine to check and upload wheels
"twine",
# lxml for parsing PyPI index pages
"lxml",
# for setuptools-odoo-make-default
"setuptools-odoo",
"setuptools",
# for whool-init
"whool",
# packaging
"packaging>=22",
],
extras_require={
"test": [
"pytest",
"pytest-asyncio",
"pytest-cov",
"pytest-mock",
"pytest-vcr",
],
},
license="MIT",
classifiers=[
# Trove classifiers
# Full list: https://pypi.python.org/pypi?%3Aaction=list_classifiers
"License :: OSI Approved :: MIT License",
"Programming Language :: Python",
],
)