diff options
author | Richard Lowe <richlowe@richlowe.net> | 2022-05-18 17:33:24 -0500 |
---|---|---|
committer | Richard Lowe <richlowe@richlowe.net> | 2022-07-18 16:25:22 -0500 |
commit | 70143b9fb6146f632b4b5d924e508df293b600df (patch) | |
tree | 422707b9d00ca9b535d4e62edf39a3d1d3d84888 /usr/src/tools/Makefile.python | |
parent | c1bbf9203b1eb61bb3596ec69b2497891c45694d (diff) | |
download | illumos-gate-70143b9fb6146f632b4b5d924e508df293b600df.tar.gz |
14769 remove support for Python 2.x
Reviewed by: Toomas Soome <tsoome@me.com>
Reviewed by: Andy Fiddaman <andy@omnios.org>
Approved by: Robert Mustacchi <rm@fingolfin.org>
Diffstat (limited to 'usr/src/tools/Makefile.python')
-rw-r--r-- | usr/src/tools/Makefile.python | 15 |
1 files changed, 1 insertions, 14 deletions
diff --git a/usr/src/tools/Makefile.python b/usr/src/tools/Makefile.python index 63df6e7a36..229df0b945 100644 --- a/usr/src/tools/Makefile.python +++ b/usr/src/tools/Makefile.python @@ -85,19 +85,7 @@ pyclobber: $(RM) $(CLOBBERFILES) $(RM) -rf $(CLOBBERDIRS) -# Python 2 module compilation - -python$(PYVER)/%.pyc: ../%.py - @[ -d $(@D) ] || mkdir $(@D) - $(RM) $@ - $(PYTHON) -mpy_compile $< - $(MV) ../$(*).pyc $@ - -$(ROOTPYDIR)/%.pyc: python$(PYVER)/%.pyc - $(INS.pyfile) - -# Python 3 module compilation - +# Python module compilation python$(PYVER)/__pycache__/%.cpython$(PYPKGVERS).pyc: ../%.py @[ -d $(@D) ] || mkdir -p $(@D) $(RM) $@ @@ -106,4 +94,3 @@ python$(PYVER)/__pycache__/%.cpython$(PYPKGVERS).pyc: ../%.py $(ROOTPYDIR)/__pycache__/%.pyc: python$(PYVER)/__pycache__/%.pyc $(INS.pyfile) - |