setuptools
Find where dependencies are coming from in Python?
When I run pip install . I get all dependencies installed, including transitive dependencies, but the problem is that there are开发者_StackOverflow中文版 two modules that depend on two different versi[详细]
2023-04-05 09:57 分类:问答How can I find additional files installed with my python package from an included script?
I\'ve built a python package that installs with a number of external files. I need to be able to read those files from a script that gets installed with the package. I can see that I can use __file__[详细]
2023-04-01 22:18 分类:问答toward iPython: easy_install can't find my Python(s) on Mac OS 10.5.8
Installed setuptools-0.6c11-py2.7.egg on my Mac OS 10.5.8 but then sudo easy_install readline ipython[详细]
2023-04-01 06:30 分类:问答How do I write a setup.py for a twistd/twisted plugin that works with setuptools, distribute, etc?
The Twisted Plugin Systemis the preferred way to write extensible twisted applications. However, due to the way the plugin system is structured (plugins go into a twisted/plugins directory which sho[详细]
2023-04-01 03:45 分类:问答Installing with pip breaks on python setup.py egg_info
I\'m trying to install my own program via Pip and the PyPI with the usual command pip install tvrenamr however I\'m getting the error below:[详细]
2023-03-31 07:41 分类:问答Why can't I install Python 2.7 under Centos 5.5?
Centos 5.5 comes with python 2.4 installed, and I needed python 2.7 for a project.I downloaded the source, ran, removed, and tried again with a couple alternative builds:[详细]
2023-03-26 12:08 分类:问答When to use pip requirements file versus install_requires in setup.py?
I\'m using pip with virtualenv to package and install some Python libraries. I\'d imagine what I\'m doing is a pretty common scenario.I\'m the maintainer on several libraries for which I can specify[详细]
2023-03-26 04:20 分类:问答Inno Setup Constant in Code Section
Is there a way to get InnoSetup constant value in [Code] section? I开发者_如何学编程 need this during install time and the constant value that I am trying to get is {app}.You can useAppValue := Expand[详细]
2023-03-25 12:18 分类:问答How may I override the compiler (GCC) flags that setup.py uses by default?
I understand that setup.py uses the same CFLAGS that were used to build Python. I have a single C extension of ours that is segfaulting. I need to build it without -O2 because -O2 is optimizing out so[详细]
2023-03-25 04:26 分类:问答How to run all tests in a setup.py script?
I woul开发者_如何学Cd like to write a setup.py script that runs all of my django app\'s tests and fails the installation if one of the tests don\'t pass.[详细]
2023-03-23 22:41 分类:问答