distutils
distutils: how to include test files in source distribution and not in build?
I have a simple, pure python project th开发者_Go百科at I want to make available with distutils. I have successfully created compressed tar files for the python modules and some license text files. The[详细]
2023-03-11 15:09 分类:问答Optional dependencies in distutils / pip
When installing my python package, I want to be able to tell the user about various optional dependencies. Ideally I would also like to print out a message about these optional requirements and what e[详细]
2023-03-10 04:37 分类:问答python setup.py develop to override installed version
I have a package I am developing. This package is already installed as an egg file parked in the site-packages directory, egg path added to easy-install.pth.[详细]
2023-03-10 03:50 分类:问答how to use distutils to create executable .zip file?
Python 2.6 and beyond has the ability to directly execute a .zip file if the zip file contains a __main__.py file at the top of the zip archive. I\'m wanting to leverage th开发者_JS百科is feature to p[详细]
2023-03-10 01:12 分类:问答Get the version from distutils setup.py
How can I import or read the VERSION from the setup.py file so that I can log the version at runtime.[详细]
2023-03-08 08:14 分类:问答How does Xcode decide what to put into its 'Attach to Process' menu?
开发者_JAVA技巧Xcode makes a guess at the proccess you may want to attach to in your gdb session. It always guesses wrong and I have to look up the process ID (it\'s a Python module) and type it in my[详细]
2023-03-07 18:01 分类:问答Python distutils not using correct version of gcc
I am trying to compile a package on Mac OSX 10.6.5.The package\'s install script relies on distutils.The problem is that the computer\'s default gcc is version 4.2 (I determined this by just running g[详细]
2023-03-05 16:35 分类:问答Python distutils gcc path
I\'m trying to cross-compile the pycrypto package, and I\'m getting closer and closer however, I\'ve hit an issue I just can\'t figure out.[详细]
2023-03-05 07:43 分类:问答setup.py isn't including modules
setup.py includes modules in the same directory it is in but leaves out modules in the site.packages directory and in a lib folder I have added to the pythonpath.[详细]
2023-02-25 09:00 分类:问答Can't figure out how to include *.html files within a site-packages folder
I cannot figure out how to write my setup.py script in order to include *.html files within the i开发者_Go百科nstalled package.[详细]
2023-02-25 05:02 分类:问答