distutils
setting script path in a buildout using one of the distutils recipes
I am using buildout.I am using it to install openerp.I would like the scripts that openerpcreates to run itself available in ${buil开发者_运维知识库dout:location}/bin[详细]
2022-12-15 18:00 分类:问答how to distribute python app with glade GUI?
I\'m trying to distribute this app that I wrote in python. The application consists of 2 python scripts. 2 .glade files and 1 .png file.[详细]
2022-12-15 13:48 分类:问答How to get the arch string that distutils uses for builds?
When I build a c extension using python setup.py build, the result is created under a directory named[详细]
2022-12-12 08:52 分类:问答How can I run a Makefile in setup.py?
I need to compile ICU using it\'s own build mechanism. Therefore the question: How can I run a Makefile f开发者_运维问答rom setup.py? Obviously, I only want it to run during the build process, not wh[详细]
2022-12-12 07:14 分类:问答Weird PyPI authentication behavior
I\'m trying to upload my package to PyPI. It asks me to identify, I do, it gives an OK response (which doesn\'t happen unless the identification is right), but then it claims I didn\'t identify! Why?[详细]
2022-12-12 05:49 分类:问答How to pass flag to gcc in Python setup.py script?
I\'m writing a Python extension in C that requires the CoreFoundation framework (among other things). This compiles fine with:[详细]
2022-12-10 18:20 分类:问答Uploading to the cheeseshop different versions of a package for different versions of Python
I have an open-source Python project (called GarlicSim), and I maintain 4 different versions of it for Python versions 2.4, 2.5, 2.6 and 3.1. Yes, maybe it\'s unusual, but I like using as much feature[详细]
2022-12-10 10:59 分类:问答Nested Python C Extensions/Modules?
How do I compile a C-Python module such that it is local to another? E.g. if I have a module named \"bar\" and another module named \"mymodule\", how do I compile \"bar\" so that it imported via \"imp[详细]
2022-12-10 09:59 分类:问答Can Python's distutils compile .S (assembly)?
I wrote a small Python extension that bundles, compiles and statically links with a small C libr开发者_开发技巧ary with one optional .S (assembler) file. Distutils\'s Extension() doesn\'t recognize th[详细]
2022-12-09 22:05 分类:问答Including non-Python files with setup.py
How do I make setup.py include a file that isn\'t part of the code? (Specifically, it\'s a license file, but it could be any other thing.)[详细]
2022-12-09 19:36 分类:问答