实例介绍
附带说明: cd进入papy-setuptools文件夹,执行python setup.py install将安setuptools工具集。会发现在python安装目录下有个script文件夹,里面有easy_install工具。
【实例截图】
【核心代码】
python安装器easy_install
└── python安装器easy_install
├── pypa-setuptools
│ ├── CHANGES.txt
│ ├── DEVGUIDE.txt
│ ├── docs
│ │ ├── conf.py
│ │ ├── development.txt
│ │ ├── easy_install.txt
│ │ ├── formats.txt
│ │ ├── index.txt
│ │ ├── Makefile
│ │ ├── merge-faq.txt
│ │ ├── merge.txt
│ │ ├── pkg_resources.txt
│ │ ├── python3.txt
│ │ ├── releases.txt
│ │ ├── roadmap.txt
│ │ ├── setuptools.txt
│ │ ├── _templates
│ │ │ └── indexsidebar.html
│ │ ├── _theme
│ │ │ └── nature
│ │ │ ├── static
│ │ │ │ ├── nature.css_t
│ │ │ │ └── pygments.css
│ │ │ └── theme.conf
│ │ └── using.txt
│ ├── easy_install.py
│ ├── ez_setup.py
│ ├── launcher.c
│ ├── MANIFEST.in
│ ├── _markerlib
│ │ ├── __init__.py
│ │ └── markers.py
│ ├── msvc-build-launcher.cmd
│ ├── pkg_resources.py
│ ├── pkg_resources.pyc
│ ├── README.txt
│ ├── release.py
│ ├── setup.cfg
│ ├── setup.py
│ ├── setuptools
│ │ ├── archive_util.py
│ │ ├── cli-32.exe
│ │ ├── cli-64.exe
│ │ ├── cli-arm-32.exe
│ │ ├── cli.exe
│ │ ├── command
│ │ │ ├── alias.py
│ │ │ ├── bdist_egg.py
│ │ │ ├── bdist_rpm.py
│ │ │ ├── bdist_wininst.py
│ │ │ ├── build_ext.py
│ │ │ ├── build_py.py
│ │ │ ├── build_py.pyc
│ │ │ ├── develop.py
│ │ │ ├── easy_install.py
│ │ │ ├── egg_info.py
│ │ │ ├── __init__.py
│ │ │ ├── __init__.pyc
│ │ │ ├── install_egg_info.py
│ │ │ ├── install_lib.py
│ │ │ ├── install.py
│ │ │ ├── install_scripts.py
│ │ │ ├── install_scripts.pyc
│ │ │ ├── launcher manifest.xml
│ │ │ ├── register.py
│ │ │ ├── rotate.py
│ │ │ ├── saveopts.py
│ │ │ ├── sdist.py
│ │ │ ├── setopt.py
│ │ │ ├── test.py
│ │ │ ├── test.pyc
│ │ │ └── upload_docs.py
│ │ ├── compat.py
│ │ ├── compat.pyc
│ │ ├── depends.py
│ │ ├── depends.pyc
│ │ ├── dist.py
│ │ ├── dist.pyc
│ │ ├── extension.py
│ │ ├── extension.pyc
│ │ ├── gui-32.exe
│ │ ├── gui-64.exe
│ │ ├── gui-arm-32.exe
│ │ ├── gui.exe
│ │ ├── __init__.py
│ │ ├── __init__.pyc
│ │ ├── lib2to3_ex.py
│ │ ├── lib2to3_ex.pyc
│ │ ├── package_index.py
│ │ ├── py26compat.py
│ │ ├── py27compat.py
│ │ ├── py31compat.py
│ │ ├── py31compat.pyc
│ │ ├── sandbox.py
│ │ ├── script template (dev).py
│ │ ├── script template.py
│ │ ├── site-patch.py
│ │ ├── ssl_support.py
│ │ ├── svn_utils.py
│ │ ├── tests
│ │ │ ├── doctest.py
│ │ │ ├── entries-v10
│ │ │ ├── environment.py
│ │ │ ├── indexes
│ │ │ │ └── test_links_priority
│ │ │ │ ├── external.html
│ │ │ │ └── simple
│ │ │ │ └── foobar
│ │ │ │ └── index.html
│ │ │ ├── __init__.py
│ │ │ ├── py26compat.py
│ │ │ ├── script-with-bom.py
│ │ │ ├── server.py
│ │ │ ├── svn_data
│ │ │ │ ├── dummy13.zip
│ │ │ │ ├── dummy14.zip
│ │ │ │ ├── dummy15.zip
│ │ │ │ ├── dummy16.zip
│ │ │ │ ├── dummy17.zip
│ │ │ │ ├── dummy18.zip
│ │ │ │ ├── dummy.zip
│ │ │ │ ├── svn13_example.zip
│ │ │ │ ├── svn13_ext_list.txt
│ │ │ │ ├── svn13_ext_list.xml
│ │ │ │ ├── svn13_info.xml
│ │ │ │ ├── svn14_example.zip
│ │ │ │ ├── svn14_ext_list.txt
│ │ │ │ ├── svn14_ext_list.xml
│ │ │ │ ├── svn14_info.xml
│ │ │ │ ├── svn15_example.zip
│ │ │ │ ├── svn15_ext_list.txt
│ │ │ │ ├── svn15_ext_list.xml
│ │ │ │ ├── svn15_info.xml
│ │ │ │ ├── svn16_example.zip
│ │ │ │ ├── svn16_ext_list.txt
│ │ │ │ ├── svn16_ext_list.xml
│ │ │ │ ├── svn16_info.xml
│ │ │ │ ├── svn17_example.zip
│ │ │ │ ├── svn17_ext_list.txt
│ │ │ │ ├── svn17_ext_list.xml
│ │ │ │ ├── svn17_info.xml
│ │ │ │ ├── svn18_example.zip
│ │ │ │ ├── svn18_ext_list.txt
│ │ │ │ ├── svn18_ext_list.xml
│ │ │ │ └── svn18_info.xml
│ │ │ ├── test_bdist_egg.py
│ │ │ ├── test_build_ext.py
│ │ │ ├── test_develop.py
│ │ │ ├── test_dist_info.py
│ │ │ ├── test_easy_install.py
│ │ │ ├── test_egg_info.py
│ │ │ ├── test_find_packages.py
│ │ │ ├── test_markerlib.py
│ │ │ ├── test_packageindex.py
│ │ │ ├── test_resources.py
│ │ │ ├── test_sandbox.py
│ │ │ ├── test_sdist.py
│ │ │ ├── test_svn.py
│ │ │ ├── test_test.py
│ │ │ ├── test_upload_docs.py
│ │ │ └── win_script_wrapper.txt
│ │ ├── version.py
│ │ └── version.pyc
│ ├── setuptools.egg-info
│ │ ├── dependency_links.txt
│ │ ├── entry_points.txt
│ │ └── requires.txt
│ ├── tests
│ │ ├── api_tests.txt
│ │ ├── manual_test.py
│ │ ├── shlib_test
│ │ │ ├── hello.c
│ │ │ ├── hellolib.c
│ │ │ ├── hello.pyx
│ │ │ ├── setup.py
│ │ │ └── test_hello.py
│ │ └── test_pkg_resources.py
│ └── test.sh
└── python安装器easy_install.txt
19 directories, 162 files
标签:
相关软件
小贴士
感谢您为本站写下的评论,您的评论对其它用户来说具有重要的参考价值,所以请认真填写。
- 类似“顶”、“沙发”之类没有营养的文字,对勤劳贡献的楼主来说是令人沮丧的反馈信息。
- 相信您也不想看到一排文字/表情墙,所以请不要反馈意义不大的重复字符,也请尽量不要纯表情的回复。
- 提问之前请再仔细看一遍楼主的说明,或许是您遗漏了。
- 请勿到处挖坑绊人、招贴广告。既占空间让人厌烦,又没人会搭理,于人于己都无利。
关于好例子网
本站旨在为广大IT学习爱好者提供一个非营利性互相学习交流分享平台。本站所有资源都可以被免费获取学习研究。本站资源来自网友分享,对搜索内容的合法性不具有预见性、识别性、控制性,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,平台无法对用户传输的作品、信息、内容的权属或合法性、安全性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论平台是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二与二十三条之规定,若资源存在侵权或相关问题请联系本站客服人员,点此联系我们。关于更多版权及免责申明参见 版权及免责申明
网友评论
我要评论