Skip to content

Commit

Permalink
check for bdist_wheel build
Browse files Browse the repository at this point in the history
  • Loading branch information
bjlittle committed Jul 25, 2021
1 parent 6eaad68 commit 4abe85a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion setup.py
Expand Up @@ -62,7 +62,7 @@ def get_library_dirs():
def get_package_data():
package_data = None
# Determine whether we're building a wheel.
if environ.get("CFUNITS_WHEEL") is not None:
if "bdist_wheel" in sys.argv:
# The protocol is that the UDUNITS2_XML_PATH environment variable
# identifies the root UDUNITS2 XML file and parent directory containing
# all the XML resource files that require to be bundled within this
Expand Down

0 comments on commit 4abe85a

Please sign in to comment.