distutils和Debian [英] distutils and Debian

查看:79
本文介绍了distutils和Debian的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

distutils下载页面有:

--------------------------------- -----------------------

当前稳定版本


当前稳定版本是Distutils 1.0.2;你可以下载它:


* Distutils-1.0.2.tar.gz(来源分发)(233k)

* Distutils-1.0.2。 zip(源代码发布)(274k)

* Distutils-1.0.2.win32.exe(Windows安装程序)(187k)


如果你正在运行Python版本1.6或更高版本,你不需要下载Distutils
:它们包含在Python中。但是,如果你的
有一个比你的Python更新的Distutils,你可能想要安装

它:请参阅Distutils README.txt文件。版本1.0.2与Python 2.1中包含的

版本相同。

-------------------- -------------------------------------


随着Debian,似乎distutils不包含在

Python 2.2或2.3中。


这应该报告为Debian bug吗?

distutils下载页面有:
------------------------------ --------------------------
当前稳定版本

目前的稳定版本是Distutils 1.0.2 ;你可以下载它:

* Distutils-1.0.2.tar.gz(源码分配)(233k)
* Distutils-1.0.2.zip(源码分配)(274k)
* Distutils-1.0.2.win32.exe(Windows安装程序)(187k)

如果您运行的是1.6或更高版本的Python,则无需下载Distutils:它们包含在Python中。但是,如果你有一个比Python更新的Distutils,你可能想要安装它:请参阅Distutils README.txt文件。版本1.0.2与Python 2.1中包含的版本相同。
---------------------------- -----------------------------

使用Debian,似乎不包括distutils /> Python 2.2或2.3。

这应该报告为Debian bug吗?




No.


这是在python2.x-dev软件包中。


Debian经常把大件东西拆分成更小的软件包,但是很不好意思

isn'毕竟只需要安装debian

包的基本debian用户需要。


" apt-cache search distutils"很容易找到那些需要它的人。


-

Sam Holden

Sam Holden写道:

这应该报告为Debian错误吗?


否。




我会说是的......没有任何逻辑可以贬低

a标准的python发行版。还缺少什么?


Istvan。


Istvan Albert写道:

Sam Holden写道:



[Colin J. Williams写道:]

这应该是报告为Debian bug?



No。



我会说是的。 ..没有任何逻辑可以破坏标准的python发行版。还缺少什么?




将事物拆分为运行时包和

开发包是Debian政策的问题。需要Python运行的Debian软件包需要

只依赖于主python软件包。大多数需要Python的软件包

*不需要distutils或C标头或静态库。


Debian用户知道或者应该知道,如果他们想要编译

额外的Debian软件需要Python(或其他)他们需要

安装相应的* -dev软件包。


这是一个相当标准的分割,其后是几个免费的UN * X

分布(我很想说最但我没有个人

经验足以做到这一点)。


-

Robert Kern
rk *** @ ucsd.edu


在草地长得高的地狱里

是否允许死亡的坟墓死亡。

- Richard Harter


The distutils download page has:
--------------------------------------------------------
Current stable release

The current stable release is Distutils 1.0.2; you can download it as:

* Distutils-1.0.2.tar.gz (source distribution) (233k)
* Distutils-1.0.2.zip (source distribution) (274k)
* Distutils-1.0.2.win32.exe (Windows installer) (187k)

If you are running Python version 1.6 or later, you do not need to
download the Distutils: they''re included with Python. However, if you
have a Distutils more recent than your Python, you might want to install
it: see the Distutils README.txt file. Version 1.0.2 is identical to the
version included in Python 2.1.
---------------------------------------------------------

With Debian, it seems that distutils is not included for
Python 2.2 or 2.3.

Should this be reported as a Debian bug?

Colin W.

解决方案

On Wed, 10 Nov 2004 19:08:09 -0500, Colin J. Williams <cj*@sympatico.ca> wrote:

The distutils download page has:
--------------------------------------------------------
Current stable release

The current stable release is Distutils 1.0.2; you can download it as:

* Distutils-1.0.2.tar.gz (source distribution) (233k)
* Distutils-1.0.2.zip (source distribution) (274k)
* Distutils-1.0.2.win32.exe (Windows installer) (187k)

If you are running Python version 1.6 or later, you do not need to
download the Distutils: they''re included with Python. However, if you
have a Distutils more recent than your Python, you might want to install
it: see the Distutils README.txt file. Version 1.0.2 is identical to the
version included in Python 2.1.
---------------------------------------------------------

With Debian, it seems that distutils is not included for
Python 2.2 or 2.3.

Should this be reported as a Debian bug?



No.

It''s in the python2.x-dev packages.

Debian often split large things up into smaller packages, distutils
isn''t needed by the basic debian user who only installs debian
packages after all.

"apt-cache search distutils" finds it easily enough for those who do
want it.

--
Sam Holden


Sam Holden wrote:

Should this be reported as a Debian bug?

No.



I would say yes ... there is no logic in crippling
a standard python distribution. What else is missing?

Istvan.


Istvan Albert wrote:

Sam Holden wrote:


[Colin J. Williams wrote:]

Should this be reported as a Debian bug?



No.


I would say yes ... there is no logic in crippling
a standard python distribution. What else is missing?



It''s a matter of Debian policy to split things into runtime packages and
development packages. A Debian package that needs Python to run need
only depend on the main python package. Most packages that need Python
*don''t* need distutils or the C headers or the static library.

Debian users know, or ought to, that if they want to compile
extra-Debian software that needs Python (or whatever) they need to
install the appropriate *-dev packages.

This is a pretty standard split thats followed by several free UN*X
distributions (I''m tempted to say "most" but I don''t have personal
experience with enough to do that).

--
Robert Kern
rk***@ucsd.edu

"In the fields of hell where the grass grows high
Are the graves of dreams allowed to die."
-- Richard Harter


这篇关于distutils和Debian的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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