Skip to main content

example

Project description

clarmy02

clarmy02

download

如何开发一个开源的 Python 扩展包

基本步骤

  1. 本地功能调通
  2. 添加测试用例
$ pytest ./tests/
  1. 测试本地安装成功
$ python setup.py install && python -c "import clarmy02"
  1. 构建、上传到 pypi.org
$ rm -rf ./dist
$ python setup.py sdist
$ twine upload dist/*
  1. 测试用 pip 从 pypi.org 安装自己的包
$ pip install -i https://pypi.org/simple/ clarmy02==0.0.1
  1. 构建、上传到 anaconda.org 编写 meta.yaml,定义元信息。
$ conda build .
$ anaconda upload <path>

高阶技巧

https://pyopensourcepkgdevguide.readthedocs.io/zh_CN/latest/index.html

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

clarmy02-0.0.5.tar.gz (2.8 kB view details)

Uploaded Source

File details

Details for the file clarmy02-0.0.5.tar.gz.

File metadata

  • Download URL: clarmy02-0.0.5.tar.gz
  • Upload date:
  • Size: 2.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.8.15

File hashes

Hashes for clarmy02-0.0.5.tar.gz
Algorithm Hash digest
SHA256 f6e27e91167686604a43e738975aa644e9256a747712e3a025178807649e2a20
MD5 de6c70bcc0c2746bd024d0b1bc68c522
BLAKE2b-256 b74e0964599a03e7cbc343f7ef15a15821498050876ea27569c80958662d1193

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