__main__.py 866 B

123456789101112131415161718192021222324
  1. # Copyright 2013-2024 The py-lmdb authors, all rights reserved.
  2. #
  3. # Redistribution and use in source and binary forms, with or without
  4. # modification, are permitted only as authorized by the OpenLDAP
  5. # Public License.
  6. #
  7. # A copy of this license is available in the file LICENSE in the
  8. # top-level directory of the distribution or, alternatively, at
  9. # <http://www.OpenLDAP.org/license.html>.
  10. #
  11. # OpenLDAP is a registered trademark of the OpenLDAP Foundation.
  12. #
  13. # Individual files and/or contributed packages may be copyright by
  14. # other parties and/or subject to additional restrictions.
  15. #
  16. # This work also contains materials derived from public sources.
  17. #
  18. # Additional information about OpenLDAP can be obtained at
  19. # <http://www.openldap.org/>.
  20. # Hack to support Python >=v2.6 'python -mlmdb'
  21. from __future__ import absolute_import
  22. import lmdb.tool
  23. lmdb.tool.main()