Skip to main content

A sample Python project

Project description

打包库模块并发布到PyPI

区别pyinstaller的打包成可执行文件!!!

Markdown是一种可以使用普通文本编辑器编写的标记语言,通过简单的标记语法,它可以使普通文本内容具有一定的格式。它允许人们使用易读易写的纯文本格式编写文档,然后转换成格式丰富的HTML页面,Markdown文件的后缀名便是“.md”, 你可以使用MdEditor在线编辑Markdown文档。包使用过程中如有任何疑问请联系Cynthia(bbliu666@126.com)。

环境准备

  1. conda install setuptools
  2. conda install wheel
  3. conda install twine
  4. 新建twine配置文件.pypirc
[distutils]
index-servers=pypi
[pypi]
repository = https://upload.pypi.org/legacy/
username: PyPI用户名
password: PyPI密码

操作步骤

  1. python setup.py check
  2. python setup.py sdist bdist_wheel
  3. twine upload dist/*
  4. 指定版本: 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 版本
  1. 基础版本
  2. 支持打包和发布
V-1.0.2 版本
  1. 细化配置文件
  2. 增加自定义包层级

Project details


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)

Uploaded Source

Built Distribution

Cynthia-1.0.5-py3-none-any.whl (17.0 kB view details)

Uploaded Python 3

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

Hashes for Cynthia-1.0.5.tar.gz
Algorithm Hash digest
SHA256 833cbf27348fc7234fc352ff0900da8bffdc66a16893a9cc853e39d96e4d682b
MD5 79ec4fcd849ef7685126af5756850b9a
BLAKE2b-256 b2467b5735865a3f01a9fde5ddecf0bb84dacb65370170dfaaf95983af574b94

See more details on using hashes here.

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

Hashes for Cynthia-1.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 b13f89003476470c141d92d91e0caee6252a45e8d81ce87d06123a13453c6633
MD5 f2a711076df38af9ba9afedbe3f67309
BLAKE2b-256 a37774d3859aac1d50966bb7e6989c1d76d4634b10644ccb4306b2188aa10153

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page