distutils
Including mercurial extensions from eggs
Is there some way to import an extension from an .egg file? For example hggit installs itself as hg_git-0.2.4-py2.5.egg, which cannot be listed under [extensions] directly, or it\'s interpreted as a s[详细]
2023-01-15 09:51 分类:问答Install two python modules with same name
What\'s the best way to install two python modules with the same name? I currently depend on two different facebook libraries: pyfacebook and Facebook\'s new python-sdk. Both of these libraries instal[详细]
2023-01-15 06:11 分类:问答MANIFEST.in ignored on "python setup.py install" - no data files installed?
Here\'s my stripped-down setup.py script with non-code stuff removed: #!/usr/bin/env python from distutils.core import setup[详细]
2023-01-13 08:34 分类:问答Question about bdist directory hierarchy
I just made a small app and then wrote开发者_StackOverflow a setup.py file for it. Everything seems to be working, except I can\'t figure out a small thing.[详细]
2023-01-12 01:44 分类:问答How can I make setuptools install a package that's not on PyPI?
I\'ve just started working with setuptools and virtualenv. My package requires the latest python-gearman that is only available from GitHub. The python-gearman version that\'s on PyPI is an old one. T[详细]
2023-01-11 03:23 分类:问答How to strip source from distutils binary distributions?
I want to create a bytecode-only distribution from distutils (no really, I do; I know what I\'m doing). Using setuptools and the bdist_egg command, you can simply provide the --exclude-source paramete[详细]
2023-01-10 15:33 分类:问答How to extend distutils with a simple pre uninstall script?
I found Question#1321270 for post install. My main target for the moment is bdist_wininst, but i did not find anything related to uninstall...[详细]
2023-01-09 14:48 分类:问答How to handle configuration files with distutils to respect unixen's FHS?
Suppose we have a program called foo. If use absolute path: setup(..., data_files=[..., (\'/etc\', [\'foo.cfg\'])][详细]
2023-01-08 12:35 分类:问答Incorrect data_files location using distutils
The distutils documentation specifies that when the target directory for data_files is a 开发者_如何学JAVArelative path, the files will be installed relative to sys.prefix. On my system (Linux Mint),[详细]
2023-01-08 03:48 分类:问答How to use MinGW's gcc compiler when installing Python package using Pip?
I configured MinGW and distutils so now I can compile extensions using this command: setup.py install MinGW\'s gcc compiler will be used and package will be installed. For that I installed MinGW an[详细]
2023-01-08 00:01 分类:问答