Config.in 1.4 KB

123456789101112131415161718192021222324252627282930313233
  1. config BR2_PACKAGE_PYTHON_PSYCOPG2
  2. bool "python-psycopg2"
  3. depends on BR2_USE_MMU # postgresql
  4. depends on BR2_USE_WCHAR # postgresql
  5. depends on !BR2_STATIC_LIBS # postgresql
  6. depends on !BR2_OPTIMIZE_FAST # postgresql
  7. select BR2_PACKAGE_POSTGRESQL
  8. help
  9. Psycopg is the most popular PostgreSQL database adapter for
  10. the Python programming language. Its main features are the
  11. complete implementation of the Python DB API 2.0 specification
  12. and the thread safety (several threads can share the same
  13. connection). It was designed for heavily multi-threaded
  14. applications that create and destroy lots of cursors and make
  15. a large number of concurrent INSERTs or UPDATEs.
  16. Psycopg 2 is mostly implemented in C as a libpq wrapper,
  17. resulting in being both efficient and secure. It features
  18. client-side and server-side cursors, asynchronous
  19. communication and notifications, COPY support. Many Python
  20. types are supported out-of-the-box and adapted to matching
  21. PostgreSQL data types; adaptation can be extended and
  22. customized thanks to a flexible objects adaptation system.
  23. Psycopg 2 is both Unicode and Python 3 friendly.
  24. https://github.com/psycopg/psycopg2/
  25. comment "python-psycopg2 needs a toolchain w/ dynamic library, wchar"
  26. depends on BR2_USE_MMU
  27. depends on BR2_STATIC_LIBS || !BR2_USE_WCHAR
  28. comment "python-psycopg2 can't be built with Optimize for fast"
  29. depends on BR2_OPTIMIZE_FAST