Python
Java
PHP
IOS
Android
Nodejs
JavaScript
Html5
Windows
Ubuntu
Linux
如何在python中递归复制目录并覆盖全部?
我正在尝试复制 home myUser dir1 及其所有内容 及其内容等 home myuser dir2 在Python中 此外 我希望副本覆盖中的所有内容dir2 It looks like distutils dir util co
python
copy
distutils
别碰我的女人
我讨厌的一件事迪斯图尔斯 http docs python org distutils 我猜他是邪恶的人 他这样做了 https github com python cpython blob 300dd552b15825abfe0e367a
python
distutils
virtualenv
让 distutils 在正确的位置查找 numpy 头文件
在我的安装中 numpy 的arrayobject h位于 site packages numpy core include numpy arrayobject h 我编写了一个使用 numpy 的简单 Cython 脚本 cimport
python
NumPy
distutils
Cython
distutils:如何将用户定义的参数传递给setup.py?
如何将用户定义的参数从命令行和 setup cfg 配置文件传递到 distutils 的 setup py 脚本 我想编写一个 setup py 脚本 它接受我的包特定参数 例如 python setup py install foo m
python
distutils
setuppy
为什么我的 pxd 文件的 Cython cimport 不起作用?
我是 Cython 的新手 所以我可能会遗漏一些明显的东西 但我已经通读了文档并对此进行了一段时间的思考 我有一个 pyx我使用构建的文件setup py文件如下 from distutils core import setup from
python
Cython
distutils
cimport
从 PyPI 安装我的 sdist 会将文件放在意外的位置
我的问题是 当我将 Python 包上传到 PyPI 然后使用 pip 从那里安装它时 我的应用程序会崩溃 因为它将我的文件安装到与我简单地从本地 sdist 安装完全相同的包时完全不同的位置 从本地 sdist 安装会将文件放在我的系统上
python
setuptools
distutils
distribute
PyPI
Python 在 Mac OSX 上找不到 distutils_path
我一直在使用 virtualenv pip 进行 python 开发 我不确定发生了什么 但每当我尝试运行命令行工具或导入库时 我都会突然收到以下错误消息 Traceback most recent call last File Users
python
MacOS
virtualenv
distutils
覆盖 Python bdist Windows 安装程序的默认安装目录
是否可以在安装程序生成期间 或实际安装期间 指定 Python 模块的自定义路径 举例来说 假设我有 5 个模块 我使用以下命令为其生成安装程序 c gt python setup py bdist 所有内容都正确打包 但是当我安装时 我被
python
distutils
如何为一个 Python/C 扩展源文件指定不同的编译器标志?
我有一个使用 CPU 特定功能的 Python 扩展 如果可供使用的话 这是通过运行时检查来完成的 如果 硬件支持POPCNT指令 然后选择一个 我的内部循环的实现 如果 SSSE3 可用的话 它选择另一个 否则它会回退到通用版本 我的性能
python
setuppy
distutils
compilerflags
如何将 PyPi 依赖项添加到 DEB 包
我创建了一些python应用程序使用autobahn并使用它进行打包baazar builddeb 在 python setup py 文件中我添加了requires带有所有必需依赖项的标记 是否可以告诉 debian 软件包安装程序安装这
python
installation
distutils
deb
autobahn
如何使用 distutils 和/或 setuptools 在 mac os x 上创建 .dylib C 扩展?
我需要使用 distutils 和 或 setuptools 创建一个 C 扩展 它可以在运行时和编译时动态使用 用于不同的目的 这在 Linux 上不是问题 但在 OS X 上却是问题 默认情况下 distutils 在 OS X 上创建
MacOS
sharedlibraries
setuptools
distutils
pythoncextension
是否存在任何危险,例如使用 pip 的 --ignore-installed 标志导致冲突?
我无法找到 pip 的良好文档 ignore installed flag pip install help简单地说 忽略已安装的软件包 而是重新安装 除了系统上存在更多问题的副作用之外 因为安装的软件包在升级时不会被卸载 是否还有其他已知
python
python27
pip
distutils
如何使用 distutils 创建可执行的 .zip 文件?
Python 2 6 及更高版本能够直接执行 zip 文件 如果 zip 文件包含 main py文件位于 zip 存档的顶部 我想利用此功能来提供我正在开发的工具的预览版本 该工具除了将 zip 文件复制到磁盘之外不需要安装任何内容 是否
python
distutils
python26
python distutils:访问已编译扩展的名称
我使用 distutils 编译一个基于 swig 的扩展模块 python setup py build ext产生文件 my module ext cpython 32m so 来自一个 c and a i文件 这个名称似乎取决于所使用
python
distutils
pip freeze 捕获包名称,就好像它位于 python 索引站点上一样,但事实并非如此。需要完整路径
我从github安装了一个包 pip install e git http github com un33k django uuslug git egg django uuslug 然后我做了 pip freeze gt req txt I
python
freeze
setuptools
distutils
pip
Distutils:构建多个共享方法的 Python 扩展模块(用 Swig 编写)
我有四个 C 文件 A h A cpp B h B cpp A h 包含在 B cpp 中 A h pragma once void A A cpp include
python
c
SWIG
distutils
distribution、distutils、setuptools 和 distutils2 之间的区别?
情况 我正在尝试将开源库移植到 Python 3 SymPy http sympy org 如果有人想知道的话 所以 我需要跑2to3在为 Python 3 构建时自动进行 为此 我需要使用distribute 因此 我需要移植当前系统 根
python
packaging
setuptools
distutils
distribute
运行 python setup.py install 时强制编译器
有没有办法在运行时显式强制编译器构建 Cython 扩展python setup py install Where setup py的形式为 import os path import numpy as np from setuptools
python
conda
setuptools
setuppy
distutils
如何使用 setuptools/distutils 包含包数据?
使用 setuptools 时 我无法让安装程序拉入任何内容package data https pythonhosted org setuptools setuptools html including data files文件 我读过的
python
setuptools
distutils
Python distutils,如何获取要使用的编译器?
例如 我可以使用python setup py build compiler msvc or python setup py build compiler mingw32要不就python setup py build 在这种情况下默认编译
python
compilerconstruction
installation
distutils
1
2
3
4
5
»