Includes: - Odoo 19 framework (odoo/) - 27 custom EnCoach addons (new_project/custom_addons/) - encoach_core, encoach_api, encoach_lms_api, encoach_adaptive_api - encoach_exam, encoach_taxonomy, encoach_adaptive, encoach_assignment - encoach_ai, encoach_ai_grading, encoach_ai_generation, encoach_ai_media - encoach_courseware, encoach_communication, encoach_subscription - encoach_notification, encoach_approval, encoach_branding - encoach_classroom, encoach_registration, encoach_stats - encoach_faq, encoach_ticket, encoach_training, encoach_resources - encoach_adaptive_ai, encoach_sis - 21 OpenEduCat Enterprise modules (new_project/enterprise-19/) - 14 OpenEduCat Community modules (new_project/openeducat_erp-19.0/) - Configuration: odoo.conf, requirements.txt, scripts - 200+ REST API endpoints with JWT authentication - SRS and test documentation Made-with: Cursor
78 lines
1.9 KiB
Python
78 lines
1.9 KiB
Python
#!/usr/bin/env python
|
|
# -*- coding: utf-8 -*-
|
|
# ruff: noqa: F821
|
|
# (ruff don't see read variables from release.py)
|
|
|
|
from setuptools import find_namespace_packages, setup
|
|
from os.path import join, dirname
|
|
|
|
|
|
exec(open(join(dirname(__file__), 'odoo', 'release.py'), 'rb').read()) # Load release variables
|
|
lib_name = 'odoo'
|
|
|
|
setup(
|
|
name='odoo',
|
|
version=version,
|
|
description=description,
|
|
long_description=long_desc,
|
|
url=url,
|
|
author=author,
|
|
author_email=author_email,
|
|
classifiers=[c for c in classifiers.split('\n') if c],
|
|
license=license,
|
|
scripts=['setup/odoo'],
|
|
packages=find_namespace_packages(),
|
|
package_dir={'%s' % lib_name: 'odoo'},
|
|
include_package_data=True,
|
|
install_requires=[
|
|
'asn1crypto',
|
|
'babel >= 1.0',
|
|
'cbor2',
|
|
'chardet',
|
|
'cryptography',
|
|
'docutils',
|
|
'geoip2',
|
|
'gevent',
|
|
'greenlet',
|
|
'idna',
|
|
'Jinja2',
|
|
'lxml', # windows binary http://www.lfd.uci.edu/~gohlke/pythonlibs/
|
|
'lxml_html_clean',
|
|
'libsass',
|
|
'MarkupSafe',
|
|
'num2words',
|
|
'ofxparse',
|
|
'openpyxl',
|
|
'passlib',
|
|
'pillow', # windows binary http://www.lfd.uci.edu/~gohlke/pythonlibs/
|
|
'polib',
|
|
'psutil', # windows binary code.google.com/p/psutil/downloads/list
|
|
'psycopg2 >= 2.2',
|
|
'pyopenssl',
|
|
'PyPDF2',
|
|
'pyserial',
|
|
'python-dateutil',
|
|
'python-stdnum',
|
|
'pytz',
|
|
'pyusb >= 1.0.0b1',
|
|
'qrcode',
|
|
'reportlab', # windows binary pypi.python.org/pypi/reportlab
|
|
'rjsmin',
|
|
'requests',
|
|
'urllib3',
|
|
'vobject',
|
|
'werkzeug',
|
|
'xlrd',
|
|
'xlsxwriter',
|
|
'xlwt',
|
|
'zeep',
|
|
],
|
|
python_requires='>=' + ".".join(map(str, MIN_PY_VERSION)),
|
|
extras_require={
|
|
'ldap': ['python-ldap'],
|
|
},
|
|
tests_require=[
|
|
'freezegun',
|
|
],
|
|
)
|