c2cgeoportal-geoportal 2.7.1.138__py2.py3-none-any.whl → 2.7.1.140__py2.py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2011-2021, Camptocamp SA
1
+ # Copyright (c) 2011-2024, Camptocamp SA
2
2
  # All rights reserved.
3
3
 
4
4
  # Redistribution and use in source and binary forms, with or without
@@ -38,12 +38,14 @@ from sqlalchemy import engine_from_config
38
38
  from sqlalchemy.orm import Session, configure_mappers, sessionmaker
39
39
 
40
40
 
41
- def fill_arguments(parser: ArgumentParser) -> None:
41
+ def fill_arguments(parser: ArgumentParser, use_attribute: bool = False) -> None:
42
42
  """Fill the command line argument description."""
43
43
  default_config_uri = (
44
44
  "c2c://development.ini" if os.path.isfile("development.ini") else "c2c://geoportal/development.ini"
45
45
  )
46
- c2cwsgiutils.setup_process.fill_arguments(parser, default_config_uri=default_config_uri)
46
+ c2cwsgiutils.setup_process.fill_arguments(
47
+ parser, default_config_uri=default_config_uri, use_attribute=use_attribute
48
+ )
47
49
 
48
50
 
49
51
  def get_appsettings(options: Namespace) -> pyramid.config.Configurator:
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2012-2021, Camptocamp SA
1
+ # Copyright (c) 2012-2024, Camptocamp SA
2
2
  # All rights reserved.
3
3
 
4
4
  # Redistribution and use in source and binary forms, with or without
@@ -58,7 +58,7 @@ def get_argparser() -> argparse.ArgumentParser:
58
58
  """Get the argument parser for this script."""
59
59
 
60
60
  parser = argparse.ArgumentParser(description="Generate an auth token")
61
- fill_arguments(parser)
61
+ fill_arguments(parser, use_attribute=True)
62
62
  parser.add_argument("user", help="The username")
63
63
  parser.add_argument("password", help="The password")
64
64
  parser.add_argument("valid", type=int, default=1, nargs="?", help="Is valid for, in days")
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: c2cgeoportal-geoportal
3
- Version: 2.7.1.138
3
+ Version: 2.7.1.140
4
4
  Summary: c2cgeoportal geoportal
5
5
  Home-page: https://github.com/camptocamp/c2cgeoportal/
6
6
  Author: Camptocamp
@@ -133,13 +133,13 @@ c2cgeoportal_geoportal/scaffolds/update/{{cookiecutter.project}}/.upgrade.yaml,s
133
133
  c2cgeoportal_geoportal/scaffolds/update/{{cookiecutter.project}}/CONST_CHANGELOG.txt,sha256=qsrtO8gYYmHPsZBYWbTrlqE2kJTmO8BQHTaB6x9lzDg,37291
134
134
  c2cgeoportal_geoportal/scaffolds/update/{{cookiecutter.project}}/geoportal/CONST_config-schema.yaml,sha256=kEV-oJhGdH4hkgfHb9MO5cyeEDtn9T8idujBh8E2MW4,21112
135
135
  c2cgeoportal_geoportal/scaffolds/update/{{cookiecutter.project}}/geoportal/CONST_vars.yaml,sha256=ShwvIOdHUgczxZzf8i_SsfrJWsJCUYC2rtQ012DKZaI,45629
136
- c2cgeoportal_geoportal/scripts/__init__.py,sha256=2tzCcNqb09Pb8ULVfDQbRWkaB_KYgyk72OdTiezhnA0,2863
136
+ c2cgeoportal_geoportal/scripts/__init__.py,sha256=elsD0ciAiyAmJKSfNzx67ZhA74QQIJ6R34zgp3Ac7Yw,2935
137
137
  c2cgeoportal_geoportal/scripts/c2cupgrade.py,sha256=MLgayT8FBS2EyuPAYEGayRm_mkwXwMv6LO4EXo7GABk,36312
138
138
  c2cgeoportal_geoportal/scripts/create_demo_theme.py,sha256=3RmUnFj1V9A3KMCCSYplhemN4faNQbnJgDmeunQ_VSo,3081
139
139
  c2cgeoportal_geoportal/scripts/manage_users.py,sha256=-9ExER-kYHh6OMsoOAuLhnjEOLoAjzzbGEcVZoZwnSg,5468
140
140
  c2cgeoportal_geoportal/scripts/pcreate.py,sha256=ovvVvbT-Kvb3gUj7eAjyvIV3UGFWR_QpVBOh7BGIiuU,11528
141
141
  c2cgeoportal_geoportal/scripts/theme2fts.py,sha256=_qEYDiu-cvet7A-2Hk-93FPzAnZH7LYZTWQXt1OCph0,11450
142
- c2cgeoportal_geoportal/scripts/urllogin.py,sha256=6SrFmQNYEtoZJ_jaVQ83F3JNoegl8BKTG-z-WkJPoy4,3299
142
+ c2cgeoportal_geoportal/scripts/urllogin.py,sha256=qGOOvx2ZN3qnENGzo8NScRqfFC06l1yc48vU6Qx3MBo,3319
143
143
  c2cgeoportal_geoportal/templates/login.html,sha256=0xcwQQDM2uv3Li0qnS91eyjsVtK0ZGiPNld7DXKadco,2475
144
144
  c2cgeoportal_geoportal/templates/notlogin.html,sha256=cJx7z50IKQl7Fb9KXv03iSxh6pgff0dbnxa9FIHNkxM,1528
145
145
  c2cgeoportal_geoportal/templates/testi18n.html,sha256=Br6Vf5zTDdaH0L07saV_8dIIT3C9xnSqh4quzTELo2s,369
@@ -178,8 +178,8 @@ tests/test_mapserverproxy_route_predicate.py,sha256=CrYzEnYjowvDJxJp56gEAaUEk5vX
178
178
  tests/test_raster.py,sha256=oRyOc90WixD9Y-iR3pMdkHuR0JwKART9DxNH5QwyilM,12074
179
179
  tests/test_wmstparsing.py,sha256=ZAlL6OQkYmzFTKu70OQ6Xej-7ZNB7UltSs2V_PbXDac,9135
180
180
  tests/xmlstr.py,sha256=vIvIFWIE2GFUMfAtG0hTMZC2jx-pQBuzOOq2FjQlyjA,6010
181
- c2cgeoportal_geoportal-2.7.1.138.dist-info/METADATA,sha256=PDO1Bm9KdbOCrS7qPTnS8jQj1fkb91p9H2XZF58T_7s,2036
182
- c2cgeoportal_geoportal-2.7.1.138.dist-info/WHEEL,sha256=a-zpFRIJzOq5QfuhBzbhiA1eHTzNCJn8OdRvhdNX0Rk,110
183
- c2cgeoportal_geoportal-2.7.1.138.dist-info/entry_points.txt,sha256=_EqfKA_CKejpkgK0xWDTB9K8an0TKqIWHoyCJrRpU80,1414
184
- c2cgeoportal_geoportal-2.7.1.138.dist-info/top_level.txt,sha256=PJIbY7Nx51dDrJ052f5mDA7c6Tehm5aD-Gb32L_CtJA,29
185
- c2cgeoportal_geoportal-2.7.1.138.dist-info/RECORD,,
181
+ c2cgeoportal_geoportal-2.7.1.140.dist-info/METADATA,sha256=4Lsc-wd6X-D0JJG_LRmbY8LpHrtgm91kRBBWmdqgvZI,2036
182
+ c2cgeoportal_geoportal-2.7.1.140.dist-info/WHEEL,sha256=a-zpFRIJzOq5QfuhBzbhiA1eHTzNCJn8OdRvhdNX0Rk,110
183
+ c2cgeoportal_geoportal-2.7.1.140.dist-info/entry_points.txt,sha256=_EqfKA_CKejpkgK0xWDTB9K8an0TKqIWHoyCJrRpU80,1414
184
+ c2cgeoportal_geoportal-2.7.1.140.dist-info/top_level.txt,sha256=PJIbY7Nx51dDrJ052f5mDA7c6Tehm5aD-Gb32L_CtJA,29
185
+ c2cgeoportal_geoportal-2.7.1.140.dist-info/RECORD,,