A sample Python project
Project description
打包库模块并发布到PyPI
区别pyinstaller的打包成可执行文件!!!
Markdown是一种可以使用普通文本编辑器编写的标记语言,通过简单的标记语法,它可以使普通文本内容具有一定的格式。它允许人们使用易读易写的纯文本格式编写文档,然后转换成格式丰富的HTML页面,Markdown文件的后缀名便是“.md”, 你可以使用MdEditor在线编辑Markdown文档。包使用过程中如有任何疑问请联系Cynthia(bbliu666@126.com)。
环境准备
- conda install setuptools
- conda install wheel
- conda install twine
- 新建twine配置文件.pypirc
[distutils]
index-servers=pypi
[pypi]
repository = https://upload.pypi.org/legacy/
username: PyPI用户名
password: PyPI密码
操作步骤
- python setup.py check
- python setup.py sdist bdist_wheel
- twine upload dist/*
- 指定版本: twine upload dist/*1.0.5*
使用说明
import hellopy.hello as hh
import hellopy.opts.const as hoc
import hellopy.utils.tool as hut
版本更新历史
V-1.0.1 版本
- 基础版本
- 支持打包和发布
V-1.0.2 版本
- 细化配置文件
- 增加自定义包层级
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Cynthia-1.0.5.tar.gz
(18.8 kB
view details)
Built Distribution
Cynthia-1.0.5-py3-none-any.whl
(17.0 kB
view details)
File details
Details for the file Cynthia-1.0.5.tar.gz
.
File metadata
- Download URL: Cynthia-1.0.5.tar.gz
- Upload date:
- Size: 18.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.4.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 833cbf27348fc7234fc352ff0900da8bffdc66a16893a9cc853e39d96e4d682b |
|
MD5 | 79ec4fcd849ef7685126af5756850b9a |
|
BLAKE2b-256 | b2467b5735865a3f01a9fde5ddecf0bb84dacb65370170dfaaf95983af574b94 |
File details
Details for the file Cynthia-1.0.5-py3-none-any.whl
.
File metadata
- Download URL: Cynthia-1.0.5-py3-none-any.whl
- Upload date:
- Size: 17.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.4.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b13f89003476470c141d92d91e0caee6252a45e8d81ce87d06123a13453c6633 |
|
MD5 | f2a711076df38af9ba9afedbe3f67309 |
|
BLAKE2b-256 | a37774d3859aac1d50966bb7e6989c1d76d4634b10644ccb4306b2188aa10153 |