setuptools setup()
https://setuptools.readthedocs.io/en/latest/setuptools.html#new-and-changed-setup-keywords
参数 | 描述 |
---|---|
name | A string specifying the name of the package. |
version | A string specifying the version number of the package. |
description | A string describing the package in a single line. |
long_description | A string providing a longer description of the package. |
long_description_content_type | A string specifying the content type is used for the long_description (e.g. text/markdown) |
author | A string specifying the author of the package. |
author_email | A string specifying the email address of the package author. |
maintainer | A string specifying the name of the current maintainer |
maintainer_email | A string specifying the email address of the current maintainer, if different from the author. |
url | A string specifying the URL for the package homepage. |
download_url | A string specifying the URL to download the package. |
packages | A list of strings specifying the packages that setuptools will manipulate. |
py_modules | A list of strings specifying the modules that setuptools will manipulate. |
scripts |
指明脚本文件,自动放在path 中
|
ext_packag | |
ext_modules |
setuptools setup()相关推荐
- setuptools.setup参数说明
参数 说明 name 包名称 version 包版本 author 程序的作者 author_email 程序的作者的邮箱地址 maintainer 维护者 maintainer_email 维护者的 ...
- python 调用另一个py_Python打包:setuptools与setup.py/.cfg入门简介
setuptools是python自带的用来构建包的工具,构建出来的wheel(.whl)可供其他人pip install和import. 知乎上已经有了一个1500多赞的文章介绍它,但是内容不太符合 ...
- Python使用setuptools打包自己的分发包并使用举例(setup.py)
Python文件制作tar.gz包(源码包) setup.py文件的编写 setup.py中主要执行一个 setup函数,该函数中大部分是描述性东西,最主要的是packages参数,列出所有的pack ...
- python setup.py build_打包Python项目为rpm时遇到python setup.py build报错的问题
问题描述 使用rpmbuild打包python项目,执行报错 rpmbuild -bb autoinstall.spec hrwxr-xr-x XXX/XXX 0 2018-12-19 13: ...
- cython代码编译和setup.py文件编写
Cython 官方文档: https://cython.readthedocs.io/en/latest/ 中文文档:https://www.bookstack.cn/read/cython-doc- ...
- python3 setup.py install_安装Twisted执行python3 setup.py install报错
源自:2-1 scrapy的安装.和安装中遇到的问题 安装Twisted执行python3 setup.py install报错 [bigdata@elephant Twisted-17.1.0]$ ...
- python怎么更新setuptools_Python打包之setuptools
一.setuptools介绍 Setuptools是Python Distutils的加强版,使开发者构建和发布Python包更加容易,特别是当包依赖于其他包时.用setuptools构建和发布的包与 ...
- 小白学习pytorch源码(二):setup.py最详细解读
小白学习pytorch源码(二) pytorch setup.py最全解析 setup.py与setuptools setup.py最详细解读 setup.py 环境检查 setup.py setup ...
- 你真的了解python中的setup.py吗?
在了解setup.py之前,有必要介绍一下python库分发打包的前世今生. 一. 为什么需要对项目分发打包? 平常我们习惯了使用 pip 来安装一些第三方模块,这个安装过程之所以简单,是因为模块开发 ...
最新文章
- 霹雳小组4显示不了服务器,霹雳小组4-指令码
- 01_字符串处理-----02_标准化
- python第三方库安装-多种方式
- Android清单AndroidManifest详细说明
- Launch debug in SWI1 workflow
- java把对象转成json_java 把对象 对象转换成json字符串 | 学步园
- 【转】关于字符编码,你所需要知道的
- redis linux工具安装,redis Linux版本的安装,以及一些基本的认识
- 解决mysql无法启动,错误1067
- Eclipse中查看JDK类库的源代码
- 最新最全latex在sublime上的配置步骤全解
- 前端项目ip设置成0.0.0.0的原因
- ArcGIS 10研究(二) 之Mobile新特性
- R语言-解决for modifying Try removing ‘00LOCK’的问题
- U盘文件系统FAT32转为NTFS
- 融思杯 第三届 部分wp
- 省份简称匹配并分组统计
- 关于String类的split方法
- 目前常用 心电数据库ECG:MITBIH,AHA,CSE,ST-T,PTB,PAF 详细介绍+下载
- S2JH 自动审计@Audited 的问题
热门文章
- 46 - 算法 -Leetcode 168 -位运算 类型模拟倒序利用vector
- 微课|玩转Python轻松过二级(2.1.3节):字符串与字节串简介
- 微课|中学生可以这样学Python(例5.1):生成不重复的随机数
- 绿地深蓝机器人_人工智能企业深兰科技获绿地控股3亿元战略投资
- java 取pdf 文本域_使用PDFBox获取文本行的位置
- 基于OpenCV实现图像平移
- android河流曲线控件,London | Riverwalk,河流曲线的黄金比例
- vue和php网站下载,vue.js去哪下载
- 手机服务器共享信息,手机云共享服务器
- oracle group by升序,group by 不一定排序