You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

64 lines
2.4 KiB

  1. # -*- encoding: utf-8 -*-
  2. ##############################################################################
  3. #
  4. # Base Location Geonames Import module for OpenERP
  5. # Copyright (C) 2014 Akretion (http://www.akretion.com)
  6. # @author Alexis de Lattre <alexis.delattre@akretion.com>
  7. # Copyright (C) 2014 Agile Business Group (http://www.agilebg.com)
  8. # @author Lorenzo Battistini <lorenzo.battistini@agilebg.com>
  9. #
  10. # This program is free software: you can redistribute it and/or modify
  11. # it under the terms of the GNU Affero General Public License as
  12. # published by the Free Software Foundation, either version 3 of the
  13. # License, or (at your option) any later version.
  14. #
  15. # This program is distributed in the hope that it will be useful,
  16. # but WITHOUT ANY WARRANTY; without even the implied warranty of
  17. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  18. # GNU Affero General Public License for more details.
  19. #
  20. # You should have received a copy of the GNU Affero General Public License
  21. # along with this program. If not, see <http://www.gnu.org/licenses/>.
  22. #
  23. ##############################################################################
  24. {
  25. 'name': 'Base Location Geonames Import',
  26. 'version': '0.2',
  27. 'category': 'Extra Tools',
  28. 'license': 'AGPL-3',
  29. 'summary': 'Import better zip entries from Geonames',
  30. 'description': """
  31. Base Location Geonames Import
  32. =============================
  33. This module adds a wizard to import better zip entries from Geonames
  34. (http://download.geonames.org/export/zip/). When you start the wizard,
  35. it will ask you to select a country ; then, for the selected country,
  36. it will delete all the current better zip entries, download the latest version
  37. of the list of cities from geonames.org and create new better zip entries.
  38. Please contact Alexis de Lattre from Akretion <alexis.delattre@akretion.com>
  39. for any help or question about this module.
  40. Contributors
  41. ------------
  42. - Alexis de Lattre <alexis.delattre@akretion.com>
  43. - Lorenzo Battistini <lorenzo.battistini@agilebg.com>
  44. """,
  45. 'author': 'Akretion',
  46. 'website': 'http://www.akretion.com',
  47. 'depends': ['base_location'],
  48. 'external_dependencies': {'python': ['requests', 'unicodecsv']},
  49. 'data': [
  50. 'wizard/geonames_import_view.xml',
  51. ],
  52. 'test': [
  53. 'test/import.yml'
  54. ],
  55. 'installable': True,
  56. 'active': False,
  57. }