vici: Add test of Message (de)serialization in python library
[strongswan.git] / src / libcharon / plugins / vici / python / Makefile.am
1 EXTRA_DIST = LICENSE MANIFEST.in \
2         setup.py.in \
3         vici/test/__init__.py \
4         vici/test/test_protocol.py \
5         vici/__init__.py \
6         vici/exception.py \
7         vici/protocol.py \
8         vici/session.py
9
10 setup.py: $(srcdir)/setup.py.in
11         $(AM_V_GEN) sed \
12         -e "s:@EGG_VERSION@:$(PACKAGE_VERSION):" \
13         $(srcdir)/setup.py.in > $@
14
15 all-local: dist/vici-$(PACKAGE_VERSION)-py$(PYTHON_VERSION).egg
16
17 dist/vici-$(PACKAGE_VERSION)-py$(PYTHON_VERSION).egg: $(EXTRA_DIST) setup.py
18         (cd $(srcdir); $(PYTHON) setup.py bdist_egg \
19                 -b $(shell readlink -f $(builddir))/build \
20                 -d $(shell readlink -f $(builddir))/dist)
21
22 clean-local: setup.py
23         $(PYTHON) setup.py clean -a
24         rm -rf vici.egg-info dist setup.py
25
26 install-exec-local: dist/vici-$(PACKAGE_VERSION)-py$(PYTHON_VERSION).egg
27         $(EASY_INSTALL) $(PYTHONEGGINSTALLDIR) \
28                 dist/vici-$(PACKAGE_VERSION)-py$(PYTHON_VERSION).egg