build universal wheels

By default setuptools produces a version-specific wheel file so
installation under other versions of Python require extra work at
install time. This change turns on "universal" wheel support, so that
the wheel file will be marked as supporting both Python 2 and 3.

Change-Id: Ib171962cdc87e8550ccb816d8b676df68f690b08
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
This commit is contained in:
Doug Hellmann 2018-10-02 18:25:32 -04:00
parent 2b4786b5cc
commit 6beb11b31e
1 changed files with 3 additions and 0 deletions

View File

@ -42,3 +42,6 @@ console_scripts =
osprofiler = osprofiler.cmd.shell:main
paste.filter_factory =
osprofiler = osprofiler.web:WsgiMiddleware.factory
[wheel]
universal = 1