Python扩展构建网络 [英] Python Extension Building Network

查看:53
本文介绍了Python扩展构建网络的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述




我想让一小群志愿者一起为任何需要它们的Python扩展开发者创建

Windows二进制文件,

很像包/扩展构建者,他们自愿花时间来创建Linux RPM。


我需要的主要是人愿意测试二进制文件来确保扩展是稳定的。这需要安装二进制文件

并且可能还要下载源代码以获得开发人员的测试

代码。我已经能够让一些测试运行得很好而

其他人非常挑剔而且有些扩展没有带来测试。

它会是很高兴知道哪些扩展最需要这个




虽然我可以自己创建二进制文件一段时间,如果我也是

很多请求,会有积压,所以很高兴有

帮助。我也在寻找知识渊博的人.......
听板(即提供建议)。


开发人员:我要求的只是一个请求,一个链接到源,

和一个编写良好的setup.py文件,用于跨平台扩展。


你可以找到我所知道的几个已经在这里完成了:http://
www.pythonlibrary.org/python_modules .htm


我还发布了一种使用MinGW

编译器创建二进制文件的方法。我在我的电脑上安装了VS2003,并且MinGW安装在了一个

虚拟机中,所以我可以双向编译扩展。


提前感谢任何反馈。


迈克

Hi,

I am trying to get a small group of volunteers together to create
Windows binaries for any Python extension developer that needs them,
much like the package/extension builders who volunteer their time to
create Linux RPMs.

The main thing I need are people willing to test the binaries to make
sure the extension is stable. This would require installing the binary
and probably downloading the source too to get the developer''s test
code. I''ve been able to get some of the tests to run great while
others are pretty finicky and some extensions don''t come with tests.
It would be nice to know which extensions are most in need of this
too.

While I can create the binaries on my own for a while, if I get too
many requests, there will be a backlog, so it would be nice to have
help with that too. I''m also looking for knowledgeable people to be
sounding boards (i.e. give advice).

Developers: all I would require is a request, a link to the source,
and a well-written setup.py file for a cross-platform extension.

You can find the few that I''ve already done here:http://
www.pythonlibrary.org/python_modules.htm

I have also posted a way to create the binaries using the MinGW
compiler. I have VS2003 installed on my PC and MinGW is installed in a
VM, so I can compile the extensions both ways.

Thanks in advance for any feedback.

Mike

推荐答案

ky ****** @ gmail.com 写道:




我想让一小群志愿者一起为任何需要它们的Python扩展开发者创建

Windows二进制文件,

就像包一样/扩展构建者自愿花时间来创建Linux RPMs。


我需要的主要是人们愿意测试二进制文件来制作

确保扩展名稳定。这需要安装二进制文件

并且可能还要下载源代码以获得开发人员的测试

代码。我已经能够让一些测试运行得很好而

其他人非常挑剔而且有些扩展没有带来测试。

它会是很高兴知道哪些扩展最需要这个




虽然我可以自己创建二进制文件一段时间,如果我也是

很多请求,会有积压,所以很高兴有

帮助。我也在寻找知识渊博的人.......
听板(即提供建议)。


开发人员:我要求的只是一个请求,一个链接到源,

和一个编写良好的setup.py文件,用于跨平台扩展。


你可以找到我所知道的几个已经在这里完成了:http://
www.pythonlibrary.org/python_modules .htm


我还发布了一种使用MinGW

编译器创建二进制文件的方法。我在我的PC上安装了VS2003,并且MinGW安装在一个

VM中,因此我可以双向编译扩展。
Hi,

I am trying to get a small group of volunteers together to create
Windows binaries for any Python extension developer that needs them,
much like the package/extension builders who volunteer their time to
create Linux RPMs.

The main thing I need are people willing to test the binaries to make
sure the extension is stable. This would require installing the binary
and probably downloading the source too to get the developer''s test
code. I''ve been able to get some of the tests to run great while
others are pretty finicky and some extensions don''t come with tests.
It would be nice to know which extensions are most in need of this
too.

While I can create the binaries on my own for a while, if I get too
many requests, there will be a backlog, so it would be nice to have
help with that too. I''m also looking for knowledgeable people to be
sounding boards (i.e. give advice).

Developers: all I would require is a request, a link to the source,
and a well-written setup.py file for a cross-platform extension.

You can find the few that I''ve already done here:http://
www.pythonlibrary.org/python_modules.htm

I have also posted a way to create the binaries using the MinGW
compiler. I have VS2003 installed on my PC and MinGW is installed in a
VM, so I can compile the extensions both ways.



Mike,这是个好消息。每当我有时间<笑,但

意味着它真诚地我会尝试通过一些模块

你已编译。


稍微说一下,当我尝试使用
来构建扩展时我发现的主要问题(我最近一直在用AVBin和

Pyglet)是Windows没有构建环境,

目录结构,env变量以及所有./configure或

即使是python setup.py安装有时也会期望。例如,如果我要提供构建MySQL扩展的
提议(作为没有使用MySQL的人

并且如果我做的话就不会安装源库)这将是一个相当痛苦的经历。你显然已经经历了

这个模块的至少一些扩展的痛苦障碍

页面。这很难吗?


TJG


(此页面上的PS SendKeys链接已死:
http://www.pythonlibrary.org/automation.htm

Mike, this is great news. Whenever I have time <laughs, but
means it sincerelyI''ll try to run through some of the modules
you''ve compiled.

As a slight aside, the main problem I''ve found when I''ve tried
to build extensions (and I''ve been doing it recently with AVBin and
Pyglet) is that Windows just doesn''t have the build environment, the
directory structures, the env vars and all that that a ./configure or
even a python setup.py install sometimes expects. eg if I were to
offer to build a MySQL extension (as someone who doesn''t use MySQL
and wouldn''t have the source libs installed if I did) there would
be a fair bit of pain to go through. You''ve obviously gone through
that pain barrier for at least some of the extensions on the modules
page. Was it tough?

TJG

(PS SendKeys link on this page is dead:
http://www.pythonlibrary.org/automation.htm)


11月9日上午8:36,Tim Golden< m ... @ timgolden.me.ukwrote:
On Nov 9, 8:36 am, Tim Golden <m...@timgolden.me.ukwrote:

kyoso ... @ gmail.com写道:
kyoso...@gmail.com wrote:


Hi,


我是试图让一小群志愿者一起为任何需要他们的Python扩展开发人员创建

Windows二进制文件,

就像那些自愿花时间的包/扩展构建者一样

创建Linux RPM。
I am trying to get a small group of volunteers together to create
Windows binaries for any Python extension developer that needs them,
much like the package/extension builders who volunteer their time to
create Linux RPMs.


我需要的主要是人们愿意测试二进制文件来确保扩展是稳定的。这需要安装二进制文件

并且可能还要下载源代码以获得开发人员的测试

代码。我已经能够让一些测试运行得很好而

其他人非常挑剔而且有些扩展没有带来测试。

它会是很高兴知道哪些扩展最需要这个


The main thing I need are people willing to test the binaries to make
sure the extension is stable. This would require installing the binary
and probably downloading the source too to get the developer''s test
code. I''ve been able to get some of the tests to run great while
others are pretty finicky and some extensions don''t come with tests.
It would be nice to know which extensions are most in need of this
too.


虽然我可以自己创建二进制文件一段时间,如果我太多了b / b
许多请求,那么是一个积压,所以很高兴有

帮助。我也在寻找知识渊博的人,这是一个好听的人(即提供建议)。
While I can create the binaries on my own for a while, if I get too
many requests, there will be a backlog, so it would be nice to have
help with that too. I''m also looking for knowledgeable people to be
sounding boards (i.e. give advice).


开发人员:我要求的只是一个请求,一个指向源的链接,

和一个写得很好的设置.py文件用于跨平台扩展。
Developers: all I would require is a request, a link to the source,
and a well-written setup.py file for a cross-platform extension.


你可以找到我在这里做过的几件事:http://
www.pythonlibrary.org/python_modules.htm


我还发布了一种使用MinGW

编译器创建二进制文件的方法。我在我的PC上安装了VS2003,并且MinGW安装在一个

VM中,因此我可以双向编译扩展。
I have also posted a way to create the binaries using the MinGW
compiler. I have VS2003 installed on my PC and MinGW is installed in a
VM, so I can compile the extensions both ways.



Mike,这是个好消息。每当我有时间<笑,但

意味着它真诚地我会尝试通过一些模块

你已编译。


稍微说一下,当我尝试使用
来构建扩展时我发现的主要问题(我最近一直在用AVBin和

Pyglet)是Windows没有构建环境,

目录结构,env变量以及所有./configure或

即使是python setup.py安装有时也会期望。例如,如果我要提供构建MySQL扩展的
提议(作为没有使用MySQL的人

并且如果我做的话就不会安装源库)这将是一个相当痛苦的经历。你显然已经经历了

这个模块的至少一些扩展的痛苦障碍

页面。这很难吗?


Mike, this is great news. Whenever I have time <laughs, but
means it sincerelyI''ll try to run through some of the modules
you''ve compiled.

As a slight aside, the main problem I''ve found when I''ve tried
to build extensions (and I''ve been doing it recently with AVBin and
Pyglet) is that Windows just doesn''t have the build environment, the
directory structures, the env vars and all that that a ./configure or
even a python setup.py install sometimes expects. eg if I were to
offer to build a MySQL extension (as someone who doesn''t use MySQL
and wouldn''t have the source libs installed if I did) there would
be a fair bit of pain to go through. You''ve obviously gone through
that pain barrier for at least some of the extensions on the modules
page. Was it tough?



最难的部分是找到准确的信息。

用户群中的大多数人都没有帮助或讽刺。我有更好的运气

直接联系已经创建了Windows

二进制文件的开发人员。他们并不介意给我一些指示。


MinGW的指示通常只是部分正确。所以我

经历了我找到的两套指示(网站上的链接)

并且混合搭配直到我做对了。

没有关于如何使用Visual Studio 2003的说明我已经找到了b $ b,只是一些旧的免费版本。这些指示与VS2003不相容

。我会最终发布VS2003的正确用法,但它基本上只是安装它然后使用distutils它是


The hardest part was finding accurate information. Most people on the
user groups have been unhelpful or sarcastic. I had better luck
contacting developers directly who had already created Windows
binaries. They didn''t mind giving me some pointers.

The directions for MinGW were usually only partially correct. So I
went through the two sets of directions I found (links on the site)
and mixed and matched until I got it right.

There are no directions on how to use Visual Studio 2003 that I''ve
found, just some old free edition. those directions were incompatible
with VS2003. I''ll post VS2003''s correct usage eventually, but it''s
basically just installing it and then using distutils.


>

TJG


(此页面上的PS SendKeys链接已死: http://www.pythonlibrary.org/automation.htm



我'我注意到我认为我上传的一些东西似乎已经消失了

MIA。今晚我会修好的。感谢错误报告并提供

的帮助。


Mike

I''ve noticed some of the stuff I thought I uploaded seems to have gone
MIA. I''ll get that fixed tonight. Thanks for the bug report and offer
of help.

Mike


ky******@gmail.com 写道:

最困难的部分是找到准确的信息。

用户群中的大多数人都没有帮助或讽刺。
The hardest part was finding accurate information. Most people on the
user groups have been unhelpful or sarcastic.



这听起来很遗憾。因为你是在Windows上构建的?

还是出于其他原因? (我问,因为,即使在这个
Python列表中,像获取工作O / S这样的反应也不为人所知

回答诸如如何这样的问题我在Windows上操作吗?")

That''s a shame to hear. Because you were building on Windows?
Or for some other reason? (I ask because, even here on the
Python lists, reactions like "Get a working O/S" are not unknown
in answer to questions like "How do I... on Windows?")


MinGW的说明通常只是部分正确。
The directions for MinGW were usually only partially correct.



我有MingW的抱怨 - 显然是因为它的存在以及巨大的努力而受到了影响其中有b / b
进入它是很难找到所有

版本的工具,这些工具让每个人都满意。和/或知道是否可以安全地混合稳定,候选人等。等等。
TJG

The gripe I''ve had MingW -- which is obviously tempered by the
fact of its existence and the huge amount of effort which has
gone into it -- is the difficulty of finding a version of all
the tools which pleases everyone. And/or of knowing whether it''s
safe to mix "Stable", "Candidate" etc. release packages.

TJG


这篇关于Python扩展构建网络的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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