← Back to team overview

python-meep team mailing list archive

[Bug 518406] [NEW] setup.py does not accept the options --root, --prefix, --record-rpm

 

Public bug reported:

Hi there,

when creating rpm packages, you usually need the setup options:  --root,
--prefix, --record-rpm.

Currently getopt does not accept those options.

As workaround I've changed the getopt line in setup.py:
optlist, a = getopt.getopt(sys.argv[2:], 'I:L:',['all', 'root=', 'record-rpm=', 'prefix='])

Regards
Werner

** Affects: python-meep
     Importance: Undecided
         Status: New

-- 
setup.py does not accept the options --root, --prefix, --record-rpm
https://bugs.launchpad.net/bugs/518406
You received this bug notification because you are a member of python-
meep, which is the registrant for python-meep.

Status in Python binding for MEEP (FDTD solver by MIT): New

Bug description:
Hi there,

when creating rpm packages, you usually need the setup options:  --root, --prefix, --record-rpm.

Currently getopt does not accept those options.

As workaround I've changed the getopt line in setup.py:
optlist, a = getopt.getopt(sys.argv[2:], 'I:L:',['all', 'root=', 'record-rpm=', 'prefix='])

Regards
Werner





Follow ups

References