distutils
top-level package handling with setuptools (or another python egg builder)
I am writing a little python app. I want to be able to easily deploy the app. I know that python 2.6 will allow one to execute an egg directly if there is a main module at the egg\'s root. I actually[详细]
2023-02-05 21:16 分类:问答Should I bundle C libraries with my Python application?
If I have a Python package that depends on some C libraries (like say the Gnu Scientific Library (GSL) for numerical computations), is it a good idea to 开发者_如何转开发bundle the library with my cod[详细]
2023-02-05 01:30 分类:问答Using Sphinx with a distutils-built C extension
I have written a Python module including a submodule written in C: the module itself is called foo and the C part is foo._bar. The structure looks like:[详细]
2023-02-03 23:27 分类:问答How do I distribute precompiled extension modules for Windows on pypi for multiple versions of Python?
I would like to distribute a precompiled C extension module for Python 2.6 and Python 2.7 for 32- a开发者_StackOverflownd 64-bit versions of Python. How should I build and distribute that on pypi? Sho[详细]
2023-02-03 09:53 分类:问答How can I assert from Python C code?
I\'m writing a Python class in C and I wa开发者_Go百科nt to put assertions in my debug code. assert.h suits me fine. This only gets put in debug compiles so there\'s no chance of an assert failure imp[详细]
2023-02-01 03:35 分类:问答Python client/server project code layout
Suppose you have a client/server application, say a webserver component and a qt gui. How do you layout your python code?[详细]
2023-02-01 03:33 分类:问答Distutils, older rpm, and customized spec file
I finally got my program packaged in a RPM on Fedora 14 yesterday, and I thought that it would be easy to build it the same way on a CentOS 4.8 box. It turns out that the older version of rpm and dist[详细]
2023-01-31 16:11 分类:问答Non-generated script with SetupTools/Distribute in setup.py
I\'m trying to get a non-generated script when I run setup.py install for a Python Package that I am building.[详细]
2023-01-31 08:00 分类:问答Combine --user with --prefix error with setup.py install
I was trying to install Python packages a system I recently gained access to. I was trying to take advantage of Python\'s relatively new per user site-packages directory, and the new option --user. (T[详细]
2023-01-31 07:43 分类:问答Can't get distutils working
I\'ve written a Python script that uses a package that I\'ve created. I need to package it, so I can install it on several servers, but I can\'t get setup.py to find my scripts.[详细]
2023-01-31 02:33 分类:问答