setuptools
Does python's setuptools support the `__name__ == "__main__"` style of execution?
I\'m just getting into packaging with setuptools, and it seems that the recommended way to install a python script along with one\'s module is to specify a script name that calls the name of a functio[详细]
2023-02-23 19:01 分类:问答Python: If there are multiple egg versions of the same package installed, how do I import specifically the version I need?
Say, for example that FooPac开发者_StackOverflow中文版kage-1.1 and FooPackage-1.2 are both installed in dist-packages as eggs. How do I import the one I need?You can use pkg_resources to specify your[详细]
2023-02-16 06:26 分类:问答Python - package installed with easy_install is not being detected (PIL 1.1.7)
I installed PIL with easy_install but for some reason when I run a file that uses it, I get: ImportError: No module named PIL[详细]
2023-02-13 07:09 分类:问答Python - Is there any way to get pip without setuptools?
Seems kinda weird that开发者_如何学C they\'d require a package manager to install a package manager.I\'m on Windows BTW.Pip does require setuptools. Pip is really just a wrapper around setuptools to p[详细]
2023-02-13 05:28 分类:问答What is an efficient way to reinstall all my python libraries after baselining my windows pc?
My windows laptop is being replaced due to some hardware problems.I\'ve spent the last two years installing third party libraries every so often, which I\'ll need to reinstall on the new machine.I jus[详细]
2023-02-12 13:19 分类:问答Getting error code 2869 while installing an upgraded version of the same application
I have a C#.NET application having some version 1.0.0.1. I did some modifications to my application & want to release it with an upgraded version 1.0.0.2.[详细]
2023-02-11 16:37 分类:问答How to use the "File Check" option of BMG(BOOTSTRAPPER MANIFEST GENERATOR) tool to check if the preRequisite is already installed on the system?
Hi I am using BMG (Bootstrpper Manifest Generator) tool to pa开发者_StackOverflow社区ckage acustom \"PREREQUISITE\" application, which can be installed prior toinstallation of a set up project applica[详细]
2023-02-06 21:19 分类:问答Does pip handle extras_requires from setuptools/distribute based sources?
I have package \"A\" with a setup.py and an extras_requires line like: extras_require = { \'ssh\':[\'paramiko\'],[详细]
2023-02-06 12:30 分类:问答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 分类:问答Specify where to install 'tests_require' dependencies of a distribute/setuptools package
When I run python setup.py test the dependencies listed in tests_require in setup.py are dow开发者_如何转开发nloaded to the current directory. When I run python setup.py install, the dependencies list[详细]
2023-02-05 17:18 分类:问答