quickly create a python module, have some other good concern.
Project description
# pyskeleton
## 更新说明 1. 移除python2支持 2. 移除pytest强制安装依赖,使用者如果有使用pytest需求,请自行安装之。推荐安装的有:pytest pytest-runner
不过 pytest.ini setup.cfg 这两个文件还在,如果您有使用pytest需求,那么可以简单在tests文件夹下编写一些test文件,然后: ` python setup.py test ` 这样做的好处是,其是直接利用本地修改的源码,也就是一边修改源码一边实时测试。
一般pypi包依赖都推荐在 requirements.txt 文件中管理,这更加简便,通过setup.py 有的时候会出一些问题,使用者根据requirements 自行决定pypi包安装方式,这样更灵活一些。
程序逻辑优化。
## description: a small tool make you creat new python project quickly.
## install
python setup.py install
or
pip install pyskeleton
## usage
pyskeleton newprojectname
## test use pytest do the test thing, with a little tweak, you can directly test the module like that, even do not need to build the module.
python setup.py test
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
File details
Details for the file pyskeleton-0.3.1.tar.gz
.
File metadata
- Download URL: pyskeleton-0.3.1.tar.gz
- Upload date:
- Size: 22.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
49b0548fcc679877b46a2400839b59898c38cbf232ace2c8297b1254ded9d546
|
|
MD5 |
fa3f69d78c30962a2e07f04695468c61
|
|
BLAKE2b-256 |
72f6e1b15cbfbe12c46834d503c84d8261510aca9cbd149a88e857625c1b52b0
|