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.

68 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/).
  35. If want want/need to modify the URL, you can set the 'geonames.url'
  36. system parameter.
  37. When you start the wizard,
  38. it will ask you to select a country. Then, for the selected country,
  39. it will delete all the current better zip entries, download the latest version
  40. of the list of cities from geonames.org and create new better zip entries.
  41. Please contact Alexis de Lattre from Akretion <alexis.delattre@akretion.com>
  42. for any help or question about this module.
  43. Contributors
  44. ------------
  45. - Alexis de Lattre <alexis.delattre@akretion.com>
  46. - Lorenzo Battistini <lorenzo.battistini@agilebg.com>
  47. """,
  48. 'author': 'Akretion',
  49. 'website': 'http://www.akretion.com',
  50. 'depends': ['base_location'],
  51. 'external_dependencies': {'python': ['requests', 'unicodecsv']},
  52. 'data': [
  53. 'wizard/geonames_import_view.xml',
  54. ],
  55. 'test': [
  56. 'test/import.yml'
  57. ],
  58. 'installable': True,
  59. 'active': False,
  60. }