a17570110f
Buildout has been removed entirely, all dev installation is now done via the single tools/install_venv.py script. Django's manage.py script has also been updated to a newer version/convention; this allows for less python path mangling and makes things cleaner and more explicit. Note that, as such, it has been moved up a directory level. Change-Id: I62f9f06ee00568fc91e5ba7e1fd15d22ea849d1f
26 lines
641 B
Makefile
26 lines
641 B
Makefile
PYTHON=`which python`
|
|
DESTDIR=/
|
|
PROJECT=openstack-dashboard
|
|
|
|
all:
|
|
@echo "make test - Run tests"
|
|
@echo "make source - Create source package"
|
|
@echo "make install - Install on local system"
|
|
@echo "make buildrpm - Generate a rpm package"
|
|
@echo "make clean - Get rid of scratch and byte files"
|
|
|
|
source:
|
|
$(PYTHON) setup.py sdist $(COMPILE)
|
|
|
|
install:
|
|
$(PYTHON) setup.py install --root $(DESTDIR) $(COMPILE)
|
|
|
|
buildrpm:
|
|
$(PYTHON) setup.py bdist_rpm --post-install=rpm/postinstall --pre-uninstall=rpm/preuninstall
|
|
|
|
clean:
|
|
$(PYTHON) setup.py clean
|
|
$(MAKE) -f $(CURDIR)/debian/rules clean
|
|
rm -rf build/ MANIFEST
|
|
find . -name '*.pyc' -delete
|