实例介绍
1、python 的一些支持包采用的是pip工具安装的; 2、pip工具类似centos中的 yum; 3、pip工具的安装时需要先安装setuptools工具; 4、这便是setuptools的安装包!
【实例截图】
【核心代码】
setuptools-21.0.0
└── setuptools-21.0.0
├── bootstrap.py
├── conftest.py
├── docs
│ ├── conf.py
│ ├── developer-guide.txt
│ ├── development.txt
│ ├── easy_install.txt
│ ├── formats.txt
│ ├── history.txt
│ ├── index.txt
│ ├── Makefile
│ ├── pkg_resources.txt
│ ├── python3.txt
│ ├── releases.txt
│ ├── roadmap.txt
│ ├── setuptools.txt
│ ├── _templates
│ │ └── indexsidebar.html
│ └── _theme
│ └── nature
│ ├── static
│ │ ├── nature.css_t
│ │ └── pygments.css
│ └── theme.conf
├── easy_install.py
├── launcher.c
├── MANIFEST.in
├── msvc-build-launcher.cmd
├── pavement.py
├── PKG-INFO
├── pkg_resources
│ ├── api_tests.txt
│ ├── extern
│ │ └── __init__.py
│ ├── __init__.py
│ ├── tests
│ │ ├── __init__.py
│ │ ├── test_markers.py
│ │ ├── test_pkg_resources.py
│ │ └── test_resources.py
│ └── _vendor
│ ├── __init__.py
│ ├── packaging
│ │ ├── __about__.py
│ │ ├── _compat.py
│ │ ├── __init__.py
│ │ ├── markers.py
│ │ ├── requirements.py
│ │ ├── specifiers.py
│ │ ├── _structures.py
│ │ ├── utils.py
│ │ └── version.py
│ ├── pyparsing.py
│ ├── six.py
│ └── vendored.txt
├── pytest.ini
├── README.rst
├── 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
│ │ ├── develop.py
│ │ ├── easy_install.py
│ │ ├── egg_info.py
│ │ ├── __init__.py
│ │ ├── install_egg_info.py
│ │ ├── install_lib.py
│ │ ├── install.py
│ │ ├── install_scripts.py
│ │ ├── launcher manifest.xml
│ │ ├── register.py
│ │ ├── rotate.py
│ │ ├── saveopts.py
│ │ ├── sdist.py
│ │ ├── setopt.py
│ │ ├── test.py
│ │ ├── upload_docs.py
│ │ └── upload.py
│ ├── depends.py
│ ├── dist.py
│ ├── extension.py
│ ├── extern
│ │ └── __init__.py
│ ├── gui-32.exe
│ ├── gui-64.exe
│ ├── gui-arm-32.exe
│ ├── gui.exe
│ ├── __init__.py
│ ├── launch.py
│ ├── lib2to3_ex.py
│ ├── msvc9_support.py
│ ├── package_index.py
│ ├── py26compat.py
│ ├── py27compat.py
│ ├── py31compat.py
│ ├── sandbox.py
│ ├── script (dev).tmpl
│ ├── script.tmpl
│ ├── site-patch.py
│ ├── ssl_support.py
│ ├── tests
│ │ ├── contexts.py
│ │ ├── environment.py
│ │ ├── files.py
│ │ ├── fixtures.py
│ │ ├── indexes
│ │ │ └── test_links_priority
│ │ │ ├── external.html
│ │ │ └── simple
│ │ │ └── foobar
│ │ │ └── index.html
│ │ ├── __init__.py
│ │ ├── py26compat.py
│ │ ├── script-with-bom.py
│ │ ├── server.py
│ │ ├── 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_integration.py
│ │ ├── test_msvc9compiler.py
│ │ ├── test_packageindex.py
│ │ ├── test_sandbox.py
│ │ ├── test_sdist.py
│ │ ├── test_setuptools.py
│ │ ├── test_test.py
│ │ ├── test_unicode_utils.py
│ │ ├── test_upload_docs.py
│ │ ├── test_windows_wrappers.py
│ │ └── textwrap.py
│ ├── unicode_utils.py
│ ├── utils.py
│ ├── version.py
│ └── windows_support.py
├── setuptools.egg-info
│ ├── dependency_links.txt
│ ├── entry_points.txt
│ ├── PKG-INFO
│ ├── requires.txt
│ ├── SOURCES.txt
│ ├── top_level.txt
│ └── zip-safe
└── tests
└── manual_test.py
21 directories, 138 files
标签:
小贴士
感谢您为本站写下的评论,您的评论对其它用户来说具有重要的参考价值,所以请认真填写。
- 类似“顶”、“沙发”之类没有营养的文字,对勤劳贡献的楼主来说是令人沮丧的反馈信息。
- 相信您也不想看到一排文字/表情墙,所以请不要反馈意义不大的重复字符,也请尽量不要纯表情的回复。
- 提问之前请再仔细看一遍楼主的说明,或许是您遗漏了。
- 请勿到处挖坑绊人、招贴广告。既占空间让人厌烦,又没人会搭理,于人于己都无利。
关于好例子网
本站旨在为广大IT学习爱好者提供一个非营利性互相学习交流分享平台。本站所有资源都可以被免费获取学习研究。本站资源来自网友分享,对搜索内容的合法性不具有预见性、识别性、控制性,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,平台无法对用户传输的作品、信息、内容的权属或合法性、安全性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论平台是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二与二十三条之规定,若资源存在侵权或相关问题请联系本站客服人员,点此联系我们。关于更多版权及免责申明参见 版权及免责申明
网友评论
我要评论