distutils
Rename script file in distutils
I have a python script, myscript.py, which I wish to install using distutils: from distutils.core import setup[详细]
2023-01-29 11:36 分类:问答How do I require Tkinter with distutils?
I\'m trying to compile a program using distutils but I want to make sure that the user has Tkinter installed before installi开发者_如何转开发ng my package.[详细]
2023-01-26 14:39 分类:问答building a python module on windows using ms compiler
I am trying to build the example that comes with the source distribution of python under PC\\example_nt[详细]
2023-01-25 15:15 分类:问答Python: pip installs sub-packages in root dir
I have such structure: setup.py package __init__.py sub_package ___init__.py sub_package2 __init__.py If I install package via setup.py install, then it works as appreciated (by copying whole packa[详细]
2023-01-24 08:38 分类:问答General convention for python libraries that also have an interface module?
Right now I\'ve got a project that has the following layout: foo/ __init__.py __main__.py foo.py In this case, foo.py is actually the main api file, so developers are meant t开发者_开发百科o do \"f[详细]
2023-01-20 20:42 分类:问答Call a function in a module after setup.py installation
I\'ve got a program/joke that needs a reasonably large data structure to operate, (a dictionary that takes a few开发者_JS百科 seconds to construct) and I would like to create and pickle it into the in[详细]
2023-01-20 08:46 分类:问答setuptools is including dist/ folder in build
i am using setuptools to create and upload a sdist package to PyPI. however everytime i run python setup.py sdist, it includes the dist/ folder and its contents, which i dont want . this behavoir do[详细]
2023-01-18 03:39 分类:问答how to install python distutils
I just got some space on a VPS server(running on ubuntu 8.04), and I\'m trying to install django on it. The server has python 2.5 installed, but I guess its non standard installation. When I run insta[详细]
2023-01-17 16:53 分类:问答Why does "python setup.py sdist" create unwanted "PROJECT-egg.info" in project root directory?
When I run python setup.py sdist it creates an sdist in my ./dist directory. This includes a \"PROJECT-egg.info\" file in the zip inside my \"dist\" folder, which I don\'t use, but it doesn\'t hurt[详细]
2023-01-17 12:59 分类:问答Python distutils error: "[directory]... doesn't exist or not a regular file"
Let\'s take the following project layout: $ ls -R . .: packagesetup.py ./package: __init__.pydirfile.datmodule.py[详细]
2023-01-15 23:24 分类:问答