Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
dune-common
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Core Modules
dune-common
Commits
818e41a4
Commit
818e41a4
authored
1 year ago
by
Christoph Grüninger
Browse files
Options
Downloads
Patches
Plain Diff
[python] Remove deprecated rmgenerated.py
parent
fda31d92
Branches
Branches containing commit
Tags
Tags containing commit
1 merge request
!1344
Remove some code deprecated in 2.9
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
CHANGELOG.md
+3
-0
3 additions, 0 deletions
CHANGELOG.md
bin/CMakeLists.txt
+0
-1
0 additions, 1 deletion
bin/CMakeLists.txt
bin/rmgenerated.py
+0
-34
0 additions, 34 deletions
bin/rmgenerated.py
with
3 additions
and
35 deletions
CHANGELOG.md
+
3
−
0
View file @
818e41a4
...
...
@@ -112,6 +112,9 @@ In order to build the DUNE core modules you need at least the following software
-
Remove deprecated CMake function
`inkscape_generate_png_from_svg`
. Use
`dune_create_inkscape_image_converter_target`
instead.
-
Remove deprecated
`rmgenerated.py`
. Call
`python -m dune remove`
with the same
arguments instead.
-
We have changed the way optional dependencies are activated in the build-system internally.
The cmake macros
`add_dune_xy_flags`
do not set the compiler flag
`-DENABLE_XY=1`
anymore, but instead
set directly the flag
`-DHAVE_XY=1`
. Neither
`ENABLE_XY`
nor
`HAVE_XY`
should be modified manually
...
...
This diff is collapsed.
Click to expand it.
bin/CMakeLists.txt
+
0
−
1
View file @
818e41a4
...
...
@@ -8,5 +8,4 @@ install(PROGRAMS
dunecontrol
dunepackaging.py
dune-git-whitespace-hook
rmgenerated.py
DESTINATION
${
CMAKE_INSTALL_BINDIR
}
)
This diff is collapsed.
Click to expand it.
bin/rmgenerated.py
deleted
100644 → 0
+
0
−
34
View file @
fda31d92
#!/usr/bin/env python3
# SPDX-FileCopyrightInfo: Copyright © DUNE Project contributors, see file LICENSE.md in module root
# SPDX-License-Identifier: LicenseRef-GPL-2.0-only-with-DUNE-exception
import
sys
from
dune.generator.remove
import
removeGenerated
from
argparse
import
ArgumentParser
parser
=
ArgumentParser
(
description
=
'
Removing generated module from dune-py
'
)
parser
.
add_argument
(
'
-a
'
,
'
--all
'
,
help
=
'
remove all modules
'
,
action
=
'
store_true
'
,
default
=
False
)
parser
.
add_argument
(
'
modules
'
,
metavar
=
'
M
'
,
nargs
=
'
*
'
,
help
=
'
base of the modules to remove
'
)
print
(
"""
Deprecation warning:
This script is deprecated and will be removed in the next release.
Call `python -m dune remove` with the same arguments instead.
"""
)
try
:
args
=
parser
.
parse_args
()
except
:
sys
.
exit
(
0
)
modules
=
[]
if
args
.
all
:
modules
=
[
'
all
'
]
elif
len
(
args
.
modules
)
>
0
:
modules
=
args
.
modules
else
:
parser
.
print_help
()
sys
.
exit
(
0
)
removeGenerated
(
modules
)
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment