- server: Use distutils for installing the python modules,

and move files not part of the BOINC package from py/Boinc to py/
    From Gabor Gombas.

svn path=/trunk/boinc/; revision=18375
This commit is contained in:
David Anderson 2009-06-11 16:01:36 +00:00
parent 4cf6b7793c
commit 6bc55040f0
6 changed files with 45 additions and 33 deletions

View File

@ -5338,3 +5338,14 @@ David 11 June 2009
parse_config
xadd
update_versions
David 11 June 2009
- server: Use distutils for installing the python modules,
and move files not part of the BOINC package from py/Boinc to py/
From Gabor Gombas.
configure.ac
py/
Makefile.am
boinc_path_config.py.in (moved here)
db_def_to_py (moved here)

View File

@ -854,7 +854,7 @@ AC_CONFIG_FILES([
clientgui/Makefile
clientgui/res/Makefile
client/Makefile
client/win/boinc_path_config.py:py/Boinc/boinc_path_config.py.in
client/win/boinc_path_config.py:py/boinc_path_config.py.in
client/scripts/Makefile
client/scripts/boinc-client
db/Makefile
@ -863,12 +863,11 @@ AC_CONFIG_FILES([
lib/Makefile
locale/Makefile
Makefile
py/Boinc/boinc_path_config.py:py/Boinc/boinc_path_config.py.in
py/Boinc/Makefile
py/boinc_path_config.py:py/Boinc/boinc_path_config.py.in
py/Boinc/version.py
py/Makefile
sched/boinc_path_config.py:py/Boinc/boinc_path_config.py.in
py/boinc_path_config.py:py/boinc_path_config.py.in
py/setup.py
sched/boinc_path_config.py:py/boinc_path_config.py.in
sched/Makefile
packages/generic/sea/Makefile
packages/solaris/CSW/Makefile
@ -884,10 +883,10 @@ AC_CONFIG_FILES([
packages/solaris/CSW/boincmanager/Makefile
packages/solaris/CSW/boincmanager/pkginfo
packages/solaris/CSW/boincmanager/prototype
test/boinc_path_config.py:py/Boinc/boinc_path_config.py.in
test/boinc_path_config.py:py/boinc_path_config.py.in
test/Makefile
test/version.inc
tools/boinc_path_config.py:py/Boinc/boinc_path_config.py.in
tools/boinc_path_config.py:py/boinc_path_config.py.in
tools/Makefile
zip/Makefile
zip/zip/Makefile

View File

@ -1,25 +0,0 @@
## -*- mode: makefile; tab-width: 4 -*-
## $Id$
include $(top_srcdir)/Makefile.incl
EXTRA_DIST = db_def_to_py \
__init__.py \
add_util.py \
boinc_db.py \
boinc_project_path.py \
boincxml.py \
configxml.py \
database.py \
db_base.py \
db_mid.py \
projectxml.py \
sched_messages.py \
setup_project.py \
tools.py \
util.py
$(srcdir)/boinc_db.py: $(top_srcdir)/db/boinc_db.h $(top_srcdir)/lib/result_state.h
cat $^ | $(srcdir)/db_def_to_py > $@
# all: $(srcdir)/boinc_db.py

View File

@ -1,4 +1,31 @@
## -*- mode: makefile; tab-width: 4 -*-
## $Id$
SUBDIRS = Boinc
include $(top_srcdir)/Makefile.incl
EXTRA_DIST = db_def_to_py \
Boinc/__init__.py \
Boinc/add_util.py \
Boinc/boinc_db.py \
Boinc/boinc_project_path.py \
Boinc/boincxml.py \
Boinc/configxml.py \
Boinc/database.py \
Boinc/db_base.py \
Boinc/db_mid.py \
Boinc/projectxml.py \
Boinc/sched_messages.py \
Boinc/setup_project.py \
Boinc/tools.py \
Boinc/util.py
$(srcdir)/Boinc/boinc_db.py: $(top_srcdir)/db/boinc_db.h $(top_srcdir)/lib/common_defs.h
cat $^ | $(top_srcdir)/py/db_def_to_py > $@
# all: $(srcdir)/Boinc/boinc_db.py
all-local:
python setup.py build --build-base=$(top_builddir)/py
install-exec-local:
python setup.py install --prefix=$(prefix) --root=$(DESTDIR)