add configure
This commit is contained in:
18
morituri/configure/Makefile.am
Normal file
18
morituri/configure/Makefile.am
Normal file
@@ -0,0 +1,18 @@
|
||||
CLEANFILES = *.py{c,o}
|
||||
|
||||
moapdir = $(PYTHONLIBDIR)/moap/configure
|
||||
|
||||
moap_PYTHON = \
|
||||
__init__.py \
|
||||
configure.py \
|
||||
installed.py
|
||||
|
||||
noinst_PYTHON = uninstalled.py
|
||||
|
||||
BUILT_SOURCES = installed.py uninstalled.py
|
||||
|
||||
TAGS_FILES = installed.py.in uninstalled.py.in
|
||||
|
||||
DISTCLEANFILES = installed.pyc installed.pyo uninstalled.pyc uninstalled.pyo
|
||||
|
||||
EXTRA_DIST = $(moap_PYTHON) installed.py.in uninstalled.py.in
|
||||
10
morituri/configure/installed.py.in
Normal file
10
morituri/configure/installed.py.in
Normal file
@@ -0,0 +1,10 @@
|
||||
# -*- Mode: Python -*-
|
||||
# vi:si:et:sw=4:sts=4:ts=4
|
||||
|
||||
import os
|
||||
|
||||
def get():
|
||||
return {
|
||||
'isinstalled': True,
|
||||
'version': '@VERSION@',
|
||||
}
|
||||
9
morituri/configure/uninstalled.py.in
Normal file
9
morituri/configure/uninstalled.py.in
Normal file
@@ -0,0 +1,9 @@
|
||||
# -*- Mode: Python -*-
|
||||
# vi:si:et:sw=4:sts=4:ts=4
|
||||
|
||||
def get():
|
||||
return {
|
||||
'isinstalled': False,
|
||||
'version': '@VERSION@',
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user