X-Git-Url: http://git.onelab.eu/?p=sfa.git;a=blobdiff_plain;f=Makefile;fp=Makefile;h=9c50f126c503ff8851c1211d97a744db68e7430d;hp=3a7384bc99ac64d7e2cf22671b09ce3a581ed552;hb=76aad4d9d05316369f99138a27c820473dff1e93;hpb=78e5fb75e3793ae9dfce7f1bbd4a2b0f27b7ecc6 diff --git a/Makefile b/Makefile index 3a7384bc..9c50f126 100644 --- a/Makefile +++ b/Makefile @@ -31,14 +31,14 @@ sfa/util/version.py: sfa/util/version.py.in force # postinstall steps - various cleanups and tweaks for a nicer rpm python-install: - python setup.py install --prefix=$(PREFIX) --root=$(DESTDIR) + python3 setup.py install --prefix=$(PREFIX) --root=$(DESTDIR) chmod 444 $(DESTDIR)/etc/sfa/default_config.xml rm -rf $(DESTDIR)/usr/lib*/python*/site-packages/*egg-info rm -rf $(DESTDIR)/usr/lib*/python*/site-packages/sfa/storage/migrations (cd $(DESTDIR)/usr/bin ; ln -s sfi.py sfi; ln -s sfascan.py sfascan; ln -s sfaadmin.py sfaadmin) python-clean: version-clean - python setup.py clean + python3 setup.py clean # rm $(init) version-clean: @@ -112,7 +112,7 @@ PYPI_TARBALL_TOPDIR=/build/sfa # this target is still helpful to produce the readme in html from README.md index.zip index.html: README.md - python readme.py + python3 readme.py # I need to run this on my mac as my pypi # run git pull first as this often comes afet a module-tag