Skip to content

Commit

Permalink
Mention why redundant parameters in setup.py are still listed
Browse files Browse the repository at this point in the history
  • Loading branch information
coldfix committed Dec 27, 2024
1 parent d2cf388 commit 9b17c7a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,10 @@ def get_extension_args(madxdir, shared, static, **libs):
sys.path.append(os.path.dirname(__file__))
fix_distutils_sysconfig_mingw()
options, sys.argv[1:] = command_line_options().parse_known_args()
# NOTE: The "metadata" parameters for setup() may appear to be redundant
# but are curently required on setuptools<61.0 and hence for python3.6
# for which setuptools>=60 is not available. See branch `drop-py36` for
# removal.
metadata = exec_file('src/cpymad/__init__.py')
setup(
name='cpymad',
Expand Down

0 comments on commit 9b17c7a

Please sign in to comment.