M $ windows python libs安装在custompython发行版的任意目录中 [英] M$ windows python libs installed in arbitrary directories for customizedpython distributions

查看:76
本文介绍了M $ windows python libs安装在custompython发行版的任意目录中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述




出于某种原因,我必须处理自定义的python发行版。


事实证明这很简单 - 我只需安装来自

python.org的python以及所需的所有库。然后我从

c:\ win * \ system32获取python2n.dll并直接转到PYTHONDIR。然后我可以只用tar / zip

PYTHON目录并分发,这样用户就不必处理

打了几个库和包。

小难度是维持这种分配。即当我想要安装新的lib M $安装程序时,由于缺少注册表项而无法找到我的python

安装。


有没有办法强制实际的python site-lib for M $安装程序????


thx提前,


-

alf

解决方案

安装程序无法找到我的python

安装可能由于缺少注册表项。


有没有办法强制实际的python site-lib for M


installers ????


提前thx,


-

alf


< BLOCKQUOTE>" ALF" < as*@me.xs4all.nlwrote:


原来这很简单 - 我只是从

python安装python .org和所有需要的库。然后我从

c:\ win * \ system32获取python2n.dll并直接转到PYTHONDIR。然后我可以只用tar / zip

PYTHON目录并分发,这样用户就不必处理

打了几个库和包。

小难度是维持这种分配。即当我想要安装一个新的lib M


Hi,

for some reason I have to deal with custom python distributions.

It turned out it is quite simple - I just install the python from
python.org and all the libs needed. Then I take python2n.dll from
c:\win*\system32 and move directly to PYTHONDIR. Then I can just tar/zip
the PYTHON dir and distribute around so users do not have to deal with
dozen of libs and packages.

Small difficulty is a maintenance of such "distribution". Namely when I
want install a new lib M$ installer just can not find my python
installations probably due to missing registry entries.

Is there any way to force the actual python site-lib for M$ installers????

thx in advance,

--
alf

解决方案

installer just can not find my python
installations probably due to missing registry entries.

Is there any way to force the actual python site-lib for M


installers????

thx in advance,

--
alf


"alf" <as*@me.xs4all.nlwrote:

It turned out it is quite simple - I just install the python from
python.org and all the libs needed. Then I take python2n.dll from
c:\win*\system32 and move directly to PYTHONDIR. Then I can just tar/zip
the PYTHON dir and distribute around so users do not have to deal with
dozen of libs and packages.

Small difficulty is a maintenance of such "distribution". Namely when I
want install a new lib M


这篇关于M $ windows python libs安装在custompython发行版的任意目录中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆