/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to Makefile

  • Committer: Jelmer Vernooij
  • Date: 2020-02-07 02:14:30 UTC
  • mto: This revision was merged to the branch mainline in revision 7492.
  • Revision ID: jelmer@jelmer.uk-20200207021430-m49iq3x4x8xlib6x
Drop python2 support.

Show diffs side-by-side

added added

removed removed

Lines of Context:
22
22
 
23
23
SHELL=bash
24
24
PYTHON?=python3
25
 
PYTHON2?=python2
26
25
PYTHON3?=python3
27
 
PYTHON27=python27
28
26
BRZ_TARGET=release
29
27
PLUGIN_TARGET=plugin-release
30
28
PYTHON_BUILDFLAGS=
81
79
        # https://github.com/paramiko/paramiko/issues/713 is not a concern
82
80
        # anymore -- vila 2017-05-24
83
81
        set -o pipefail; \
84
 
        BRZ_PLUGIN_PATH=$(BRZ_PLUGIN_PATH) $(PYTHON) -Werror -Wignore::FutureWarning -Wignore::DeprecationWarning -Wignore::ImportWarning -Wignore::ResourceWarning -O \
85
 
          ./brz selftest -v --parallel=fork -Oselftest.timeout=120 --subunit2 \
86
 
          | subunit-filter -s --passthrough --rename "^" "python2."; \
87
 
          BRZ_PLUGIN_PATH=$(BRZ_PLUGIN_PATH) $(PYTHON3) -Werror -Wignore::FutureWarning -Wignore::DeprecationWarning -Wignore::PendingDeprecationWarning -Wignore::ImportWarning -Wignore::ResourceWarning -O \
 
82
        BRZ_PLUGIN_PATH=$(BRZ_PLUGIN_PATH) $(PYTHON3) -Werror -Wignore::FutureWarning -Wignore::DeprecationWarning -Wignore::PendingDeprecationWarning -Wignore::ImportWarning -Wignore::ResourceWarning -O \
88
83
          ./brz selftest -v --parallel=fork -Oselftest.timeout=120 --subunit2 \
89
84
          | subunit-filter -s --passthrough --rename "^" "python3."
90
85
 
266
261
        $(PYTHON) tools/win32/run_script.py cog.py -d -o tools/win32/brz.iss tools/win32/brz.iss.cog
267
262
        iscc /Q tools/win32/brz.iss
268
263
 
269
 
py-inst-27: docs
270
 
        $(PYTHON27) setup.py bdist_wininst --install-script="brz-win32-bdist-postinstall.py" -d .
271
 
 
272
 
python-installer: py-inst-27
273
 
 
 
264
py-inst-37: docs
 
265
        $(PYTHON37) setup.py bdist_wininst --install-script="brz-win32-bdist-postinstall.py" -d .
 
266
 
 
267
python-installer: py-inst-37
274
268
 
275
269
copy-docs: docs
276
270
        $(PYTHON) tools/win32/ostools.py copytodir README win32_brz.exe/doc