1. Use setuptools package to create the XML file into a package
2. Use PIP install to install the package
My way is:
1. In the same folder with the other two description file "setup. Py" and "the readme.txt,"
Setup. Py the file content is as follows:
setup (
Name='vsearch',
Version='1.0',
Description="The Head First Python Search Tools',
The author='HF Python 2 e,
Author_email='[email protected]',
Url='headfirstlabs.com',
Py_modules=[' vsearch],
)
2. Using CMD to run the setup. Py, code for:
python setup. Py sdist,
3. The program has built a dist folder, there are vsearch - 1.0. Tar,
4. Using CMD to perform in the dist folder
PIP install vsearch - 1.0. Tar,
But the problem appeared, said system cannot find the file, but clearly this file is here, also please teach a great god,