Bug 1257 - waf install __init__ Python files even with --disable-python
waf install __init__ Python files even with --disable-python
Status: RESOLVED FIXED
Product: ns-3
Classification: Unclassified
Component: build system
ns-3.12
All All
: P5 normal
Assigned To: Gustavo J. A. M. Carneiro
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-09-07 04:30 UTC by Vedran Miletić
Modified: 2011-09-23 07:20 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Vedran Miletić 2011-09-07 04:30:30 UTC
In RPM .spec file I have:

%{__python} waf configure --prefix=/usr --libdir=%{_libdir} -d %{ns_build_profi\
le} --enable-modules=aodv,applications,bridge,config-store,core,csma,csma-layou\
t,dsdv,emu,energy,flow-monitor,internet,lte,mesh,mobility,mpi,netanim,network,n\
ix-vector-routing,ns3tcp,ns3wifi,olsr,point-to-point,point-to-point-layout,prop\
agation,spectrum,stats,tap-bridge,template,test,tools,topology-read,uan,virtual\
-net-device,visualizer,wifi,wimax --disable-python
%{__python} waf build
%{__python} waf --destdir=$RPM_BUILD_ROOT install

Upon installation, directory ns gets created in root directory, containing Python bindings.

ls -l BUILDROOT/ns-3.12.1-1.fc15.x86_64/ns/
total 12
-rw-r--r--. 1 vedranm vedranm   1 Sep  2 18:38 __init__.py
-rw-r--r--. 2 vedranm vedranm 102 Sep  7 10:24 __init__.pyc
-rw-r--r--. 2 vedranm vedranm 102 Sep  7 10:24 __init__.pyo
Comment 1 Gustavo J. A. M. Carneiro 2011-09-23 07:20:16 UTC
changeset:   7536:1f697c6f0b12
tag:         tip
user:        Gustavo J. A. M. Carneiro  <gjc@inescporto.pt>
date:        Fri Sep 23 12:19:53 2011 +0100
summary:     Bug 1257 - waf install __init__ Python files even with --disable-python