example
Project description
clarmy02
clarmy02
如何开发一个开源的 Python 扩展包
基本步骤
- 本地功能调通
- 添加测试用例
$ pytest ./tests/
- 测试本地安装成功
$ python setup.py install && python -c "import clarmy02"
- 构建、上传到 pypi.org
$ rm -rf ./dist
$ python setup.py sdist
$ twine upload dist/*
- 测试用 pip 从 pypi.org 安装自己的包
$ pip install -i https://pypi.org/simple/ clarmy02==0.0.1
- 构建、上传到 anaconda.org 编写 meta.yaml,定义元信息。
$ conda build .
$ anaconda upload <path>
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.6.tar.gz
(2.8 kB
view details)
File details
Details for the file clarmy02-0.0.6.tar.gz
.
File metadata
- Download URL: clarmy02-0.0.6.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
Algorithm | Hash digest | |
---|---|---|
SHA256 | c8e5b25764c9da006052c9862a9dd19d14460cee0b83c800e5908ddabb3eba42 |
|
MD5 | 9477136f4db798e38030bc50a60a2cf1 |
|
BLAKE2b-256 | b826dd5a4f5ee1bbfdaf1f4fa8f0c645ee6c9c40db95792b32c9cdc99d37ea8d |