[NeXus-code-tickets] [NeXusCode] #150: python bindings do not install properly
NeXus Data Format Library and Applications
noreply at nexusformat.org
Tue Jan 13 15:37:50 GMT 2009
#150: python bindings do not install properly
----------------------+-----------------------------------------------------
Reporter: Cpascual | Owner: Unassigned
Type: defect | Status: new
Priority: major | Milestone: NeXus 4.2 Release
Component: bindings | Version: 4.2rc2
Keywords: |
----------------------+-----------------------------------------------------
After compiling and installing nexus-4.2rc2, the python bindings get
installed as follows:
[BR]
<.../site-packages>/nexus/nxstest.py [[BR]]
<.../site-packages>/nexus/nxs/napi.py[[BR]]
Which is a problem because:[[BR]]
a) missing {{{__init__.py}}} [[BR]]
b) installs to "nexus/nxs" instead of "nxs" [[BR]]
c) copies unnecesary non-module nxstest.py in site-packages[[BR]]
Consequence: one cannot do "import nxs" as indicated in the NEXUS Python
API.
IMHO, the correct installation structure should be like that created by
the previously available distutils script:[[BR]]
<.../site-packages>/nxs/napi.py[[BR]]
<.../site-packages>/nxs/{{{__init__.py}}}[[BR]]
--
Ticket URL: <http://trac.nexusformat.org/code/ticket/150>
NeXus Data Format Library and Applications <http://www.nexusformat.org/>
NeXus Data Format Library and Applications
More information about the NeXus-code-tickets
mailing list