c2cgeoportal-geoportal 2.8.1.145__py2.py3-none-any.whl → 2.8.1.146__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-2023, 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-2023, 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.8.1.145
3
+ Version: 2.8.1.146
4
4
  Summary: c2cgeoportal geoportal
5
5
  Home-page: https://github.com/camptocamp/c2cgeoportal/
6
6
  Author: Camptocamp
@@ -139,13 +139,13 @@ c2cgeoportal_geoportal/scaffolds/update/{{cookiecutter.project}}/CONST_CHANGELOG
139
139
  c2cgeoportal_geoportal/scaffolds/update/{{cookiecutter.project}}/CONST_create_template/tests/test_testapp.py,sha256=nbw63aQ4nMFPLwL4n5FC4ICMxEod5xfQG5i9igiCoFk,1795
140
140
  c2cgeoportal_geoportal/scaffolds/update/{{cookiecutter.project}}/geoportal/CONST_config-schema.yaml,sha256=bjpHnvjPDNr-wVodb3NC9XkCcr-hnJo8JhirX2t38MU,21183
141
141
  c2cgeoportal_geoportal/scaffolds/update/{{cookiecutter.project}}/geoportal/CONST_vars.yaml,sha256=gQOPZqPUitn674cVrf-DonrRWZmZ7sLAE1NL9YXfBms,47538
142
- c2cgeoportal_geoportal/scripts/__init__.py,sha256=iX3_H7mSszvc9MztLsKIsZJlEREsUO3BGXTFT5P5SNY,2863
142
+ c2cgeoportal_geoportal/scripts/__init__.py,sha256=elsD0ciAiyAmJKSfNzx67ZhA74QQIJ6R34zgp3Ac7Yw,2935
143
143
  c2cgeoportal_geoportal/scripts/c2cupgrade.py,sha256=j2dl2bBTpSIT6J0JG6nz7PbjOl8_Umm3lnH3x8wnXsA,36311
144
144
  c2cgeoportal_geoportal/scripts/create_demo_theme.py,sha256=3RmUnFj1V9A3KMCCSYplhemN4faNQbnJgDmeunQ_VSo,3081
145
145
  c2cgeoportal_geoportal/scripts/manage_users.py,sha256=-9ExER-kYHh6OMsoOAuLhnjEOLoAjzzbGEcVZoZwnSg,5468
146
146
  c2cgeoportal_geoportal/scripts/pcreate.py,sha256=e1_1E5kZr4n_r2ac97Xdu1oMX8uZ8E-KVtcAuNmQDAY,11482
147
147
  c2cgeoportal_geoportal/scripts/theme2fts.py,sha256=MIPG37lcgQODLFqgBifttIJJtotpNRQkGPLill8WD7g,13727
148
- c2cgeoportal_geoportal/scripts/urllogin.py,sha256=Cp4yTMOqCJqVhx6iHRfA0POroJwdyZ3RzZ1oInIGV_I,3299
148
+ c2cgeoportal_geoportal/scripts/urllogin.py,sha256=qGOOvx2ZN3qnENGzo8NScRqfFC06l1yc48vU6Qx3MBo,3319
149
149
  c2cgeoportal_geoportal/templates/login.html,sha256=0xcwQQDM2uv3Li0qnS91eyjsVtK0ZGiPNld7DXKadco,2475
150
150
  c2cgeoportal_geoportal/templates/notlogin.html,sha256=cJx7z50IKQl7Fb9KXv03iSxh6pgff0dbnxa9FIHNkxM,1528
151
151
  c2cgeoportal_geoportal/templates/testi18n.html,sha256=Br6Vf5zTDdaH0L07saV_8dIIT3C9xnSqh4quzTELo2s,369
@@ -184,8 +184,8 @@ tests/test_mapserverproxy_route_predicate.py,sha256=SzILSSzIuilzIkUYVPZiVzLwW1du
184
184
  tests/test_raster.py,sha256=82NJ2MXgZlMqs0ytN-VgNw376iURdk4PkAg__dyh5ns,11948
185
185
  tests/test_wmstparsing.py,sha256=xjA8nJuXFl3H5Bfs4sJw_8qX8E8qvAALK7Hs2-DTP2A,9054
186
186
  tests/xmlstr.py,sha256=rkTKSU4FGjupBKLx75H8o-goB0KbQrxDvdpc6xVX_uQ,5985
187
- c2cgeoportal_geoportal-2.8.1.145.dist-info/METADATA,sha256=eKyW61u9eMD6KxD8K4LjRDtUsAexi6XM_Ikao6ljFTs,2172
188
- c2cgeoportal_geoportal-2.8.1.145.dist-info/WHEEL,sha256=a-zpFRIJzOq5QfuhBzbhiA1eHTzNCJn8OdRvhdNX0Rk,110
189
- c2cgeoportal_geoportal-2.8.1.145.dist-info/entry_points.txt,sha256=w0xGr1Bo8q5GBFiP4JgqbSIg-bNhG7bsGoEaGSTfzaE,1415
190
- c2cgeoportal_geoportal-2.8.1.145.dist-info/top_level.txt,sha256=PJIbY7Nx51dDrJ052f5mDA7c6Tehm5aD-Gb32L_CtJA,29
191
- c2cgeoportal_geoportal-2.8.1.145.dist-info/RECORD,,
187
+ c2cgeoportal_geoportal-2.8.1.146.dist-info/METADATA,sha256=nlRwRQvswDUatwobKkPCQRoeMmqbAcLP5xx2tXCrGvU,2172
188
+ c2cgeoportal_geoportal-2.8.1.146.dist-info/WHEEL,sha256=a-zpFRIJzOq5QfuhBzbhiA1eHTzNCJn8OdRvhdNX0Rk,110
189
+ c2cgeoportal_geoportal-2.8.1.146.dist-info/entry_points.txt,sha256=w0xGr1Bo8q5GBFiP4JgqbSIg-bNhG7bsGoEaGSTfzaE,1415
190
+ c2cgeoportal_geoportal-2.8.1.146.dist-info/top_level.txt,sha256=PJIbY7Nx51dDrJ052f5mDA7c6Tehm5aD-Gb32L_CtJA,29
191
+ c2cgeoportal_geoportal-2.8.1.146.dist-info/RECORD,,