setup.py 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. #!/usr/bin/env python
  2. # -*- coding: utf-8 -*-
  3. from setuptools import find_packages, setup
  4. from os.path import join, dirname
  5. exec(open(join(dirname(__file__), 'odoo', 'release.py'), 'rb').read()) # Load release variables
  6. lib_name = 'odoo'
  7. setup(
  8. name='odoo',
  9. version=version,
  10. description=description,
  11. long_description=long_desc,
  12. url=url,
  13. author=author,
  14. author_email=author_email,
  15. classifiers=[c for c in classifiers.split('\n') if c],
  16. license=license,
  17. scripts=['setup/odoo'],
  18. packages=find_packages(),
  19. package_dir={'%s' % lib_name: 'odoo'},
  20. include_package_data=True,
  21. install_requires=[
  22. 'babel >= 1.0',
  23. 'chardet',
  24. 'cryptography',
  25. 'decorator',
  26. 'docutils',
  27. 'gevent',
  28. 'greenlet',
  29. 'idna',
  30. 'Jinja2',
  31. 'lxml', # windows binary http://www.lfd.uci.edu/~gohlke/pythonlibs/
  32. 'libsass',
  33. 'MarkupSafe',
  34. 'num2words',
  35. 'ofxparse',
  36. 'passlib',
  37. 'pillow', # windows binary http://www.lfd.uci.edu/~gohlke/pythonlibs/
  38. 'polib',
  39. 'psutil', # windows binary code.google.com/p/psutil/downloads/list
  40. 'psycopg2 >= 2.2',
  41. 'pydot',
  42. 'pyopenssl',
  43. 'PyPDF2',
  44. 'pyserial',
  45. 'python-dateutil',
  46. 'python-stdnum',
  47. 'pytz',
  48. 'pyusb >= 1.0.0b1',
  49. 'qrcode',
  50. 'reportlab', # windows binary pypi.python.org/pypi/reportlab
  51. 'requests',
  52. 'urllib3',
  53. 'vobject',
  54. 'werkzeug',
  55. 'xlrd',
  56. 'xlsxwriter',
  57. 'xlwt',
  58. 'zeep',
  59. ],
  60. python_requires='>=3.7',
  61. extras_require={
  62. 'ldap': ['python-ldap'],
  63. },
  64. tests_require=[
  65. 'freezegun',
  66. ],
  67. )