小编Mar*_*ill的帖子

Python PasteScript的贴纸的替代品创建?

似乎PasteScriptpaster create功能只是在python中构建/生成项目框架的唯一广泛使用的框架.我想知道人们使用python世界中是否还有其他选择?

更新

我想评论自从最初提出这个问题以来我的经历.接受的答案仍然存在 - 有一些可以使用的模板/骨架包.但是,根据给出的其他答案,我确实开始使用mr.bob并检查了cookiecutter.两者都是通用的(不受特定框架约束),易于使用以及相对最新活跃的项目 - 这些是我正在寻找的标准的一部分,但在我的原始问题中没有详细说明.

python project

12
推荐指数
3
解决办法
1946
查看次数

Vim无法在OS X上使用python进行编译

我一直在尝试使用mac OS X 10.6上的python 2.7支持编译vim 7.3.Vim本身编译得很好,但嵌入式python并没有那么多.

我采取的步骤:

hg clone https:/vim.googlecode.com/hg/ vim
cd vim/src
./configure --without-x --disable-gui --disable-darwin \
            --enable-pythoninterp --with-features=huge
make
make install
Run Code Online (Sandbox Code Playgroud)

这给了我一个工作的vim但没有python.

自动/的config.log表示有一个文件错误:

configure:5387: checking if compile and link flags for Python are sane
configure:5404: gcc -o conftest -g -O2 
     -I/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 
     -DPYTHON_HOME=\"/Library/Frameworks/Python.framework/Versions/2.7\"   
     -L/usr/local/lib conftest.c  
     -L/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/config 
     -lpython2.7 -ldl -framework CoreFoundation 
     -u _PyMac_Error Python.framework/Versions/2.7/Python >&5
i686-apple-darwin10-gcc-4.2.1: Python.framework/Versions/2.7/Python: No such file or directory

<command-line>: warning: missing terminating " character
configure:5404: $? = 1 …
Run Code Online (Sandbox Code Playgroud)

python macos vim compilation

7
推荐指数
2
解决办法
4557
查看次数

标签 统计

python ×2

compilation ×1

macos ×1

project ×1

vim ×1