84669 person learning
152542 person learning
20005 person learning
5487 person learning
7821 person learning
359900 person learning
3350 person learning
180660 person learning
48569 person learning
18603 person learning
40936 person learning
1549 person learning
1183 person learning
32909 person learning
用 Python 编写的软件是如何安装到 Linux 系统中的?
用 C 或 C++ 编写的软件可以通过使用 make install 来安装的系统之中。用 Python 写的软件又该如何安装?
==========================
更新:特别是我自己编写的软件如何安装?
光阴似箭催人老,日月如移越少年。
There are generally three types:
They require sudo most of the time. Among them, setup.py can be written by looking for documentation. As far as I know, setup.py is generally not machine-generated... If the software is uploaded to pypi, pip will do.
Things like pip
make install because there is a Makefile The similar one in the python package is called setup.py. To install the python package, use:
$ python setup.py install
Generally, it will be installed under the system-level site-packages. If the permissions are insufficient, add sudo
There is a commercial software for perl script called perl2exe, py2exe for python on windows, and pyinstaller for linux.
There are generally three types:
They require sudo most of the time. Among them, setup.py can be written by looking for documentation. As far as I know, setup.py is generally not machine-generated... If the software is uploaded to pypi, pip will do.
Things like pip
make install because there is a Makefile
The similar one in the python package is called setup.py. To install the python package, use:
Generally, it will be installed under the system-level site-packages. If the permissions are insufficient, add sudo
in front of itThere is a commercial software for perl script called perl2exe, py2exe for python on windows, and pyinstaller for linux.