On Tue, 27 May 2014, Eduard Rozenberg wrote:

Hello folks,

I?m working on packaging PyLucene to a Slackware
package by using a setup.cfg in the source directory
and redirecting the installation root to
/tmp/pylucene_installdir.

I noticed that a couple of files are missing when doing
this alternate root install compared to the regular install.

########## setup.cfg ###########

[easy_install]

[build]

[install]
root = /tmp/pylucene_installdir
compile = False
force = True
single-version-externally-managed = True

##############################

I noticed that two files are missing when I do this root=
install compared to the regular install to /usr/lib?/
Are these two files below not necessary when
packaging PyLucene for distribution?

Missing: native_libs.txt

I don't know what this file, native_libs.txt, is for. Maybe a setuptools artifact ?

------------------------------
Contains:
lucene/_lucene.so


Missing: _lucene.py

Yes, that one you need.
Did you try running pylucene tests without it ?

Andi..

--------------------------
Contains:
def __bootstrap__():
   global __bootstrap__, __loader__, __file__
   import sys, pkg_resources, imp
   __file__ = pkg_resources.resource_filename(__name__, '_lucene.so')
   __loader__ = None; del __bootstrap__, __loader__
   imp.load_dynamic(__name__,__file__)
__bootstrap__()


Thanks in advance!

Regards,
?Ed

Reply via email to