pyskeleton


Namepyskeleton JSON
Version 0.3.3 PyPI version JSON
download
home_pagehttps://github.com/a358003542/pyskeleton
Summaryquickly create a python module, have some other good concern.
upload_time2018-02-26 02:06:32
maintainer
docs_urlNone
authorwanze
requires_python
licenseGPL 2
keywords skeleton
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # pyskeleton


## 更新说明
### 0.3.3
移除pyosreplace依赖,之前是为了解决python2的兼容性引入的,现在移除了,这样本模块现在不依赖任何模块了,
因为pyosreplace模块还需要调用c编译工具,所以决定移除了。

### 0.3.2
1. 移除python2支持
2. 移除pytest强制安装依赖,使用者如果有使用pytest需求,请自行安装之。推荐安装的有:`pytest` `pytest-runner`

不过  `setup.cfg` 这个文件还在,如果您有使用pytest需求,那么可以简单在tests文件夹下编写一些test文件,然后:
```
python setup.py test
```
这样做的好处是,其是直接利用本地修改的源码,也就是一边修改源码一边实时测试。

3. 一般pypi包依赖都推荐在 `requirements.txt` 文件中管理,这更加简便,通过setup.py 有的时候会出一些问题,使用者根据requirements 自行决定pypi包安装方式,这样更灵活一些。

4. 程序逻辑优化。

## 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



            

Raw data

            {
    "_id": null,
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "cheesecake_code_kwalitee_id": null,
    "keywords": "skeleton",
    "upload_time": "2018-02-26 02:06:32",
    "requirements": [],
    "author": "wanze",
    "home_page": "https://github.com/a358003542/pyskeleton",
    "github_user": "a358003542",
    "download_url": "https://pypi.python.org/packages/40/5b/7a6f9d9728f994df7abd7457a4e107327152e8a6ea1b13d8489a7496d9d1/pyskeleton-0.3.3.tar.gz",
    "platform": "Linux",
    "version": "0.3.3",
    "cheesecake_documentation_id": null,
    "description": "# pyskeleton\n\n\n## \u66f4\u65b0\u8bf4\u660e\n### 0.3.3\n\u79fb\u9664pyosreplace\u4f9d\u8d56\uff0c\u4e4b\u524d\u662f\u4e3a\u4e86\u89e3\u51b3python2\u7684\u517c\u5bb9\u6027\u5f15\u5165\u7684\uff0c\u73b0\u5728\u79fb\u9664\u4e86\uff0c\u8fd9\u6837\u672c\u6a21\u5757\u73b0\u5728\u4e0d\u4f9d\u8d56\u4efb\u4f55\u6a21\u5757\u4e86\uff0c\n\u56e0\u4e3apyosreplace\u6a21\u5757\u8fd8\u9700\u8981\u8c03\u7528c\u7f16\u8bd1\u5de5\u5177\uff0c\u6240\u4ee5\u51b3\u5b9a\u79fb\u9664\u4e86\u3002\n\n### 0.3.2\n1. \u79fb\u9664python2\u652f\u6301\n2. \u79fb\u9664pytest\u5f3a\u5236\u5b89\u88c5\u4f9d\u8d56\uff0c\u4f7f\u7528\u8005\u5982\u679c\u6709\u4f7f\u7528pytest\u9700\u6c42\uff0c\u8bf7\u81ea\u884c\u5b89\u88c5\u4e4b\u3002\u63a8\u8350\u5b89\u88c5\u7684\u6709\uff1a`pytest` `pytest-runner`\n\n\u4e0d\u8fc7  `setup.cfg` \u8fd9\u4e2a\u6587\u4ef6\u8fd8\u5728\uff0c\u5982\u679c\u60a8\u6709\u4f7f\u7528pytest\u9700\u6c42\uff0c\u90a3\u4e48\u53ef\u4ee5\u7b80\u5355\u5728tests\u6587\u4ef6\u5939\u4e0b\u7f16\u5199\u4e00\u4e9btest\u6587\u4ef6\uff0c\u7136\u540e\uff1a\n```\npython setup.py test\n```\n\u8fd9\u6837\u505a\u7684\u597d\u5904\u662f\uff0c\u5176\u662f\u76f4\u63a5\u5229\u7528\u672c\u5730\u4fee\u6539\u7684\u6e90\u7801\uff0c\u4e5f\u5c31\u662f\u4e00\u8fb9\u4fee\u6539\u6e90\u7801\u4e00\u8fb9\u5b9e\u65f6\u6d4b\u8bd5\u3002\n\n3. \u4e00\u822cpypi\u5305\u4f9d\u8d56\u90fd\u63a8\u8350\u5728 `requirements.txt` \u6587\u4ef6\u4e2d\u7ba1\u7406\uff0c\u8fd9\u66f4\u52a0\u7b80\u4fbf\uff0c\u901a\u8fc7setup.py \u6709\u7684\u65f6\u5019\u4f1a\u51fa\u4e00\u4e9b\u95ee\u9898\uff0c\u4f7f\u7528\u8005\u6839\u636erequirements \u81ea\u884c\u51b3\u5b9apypi\u5305\u5b89\u88c5\u65b9\u5f0f\uff0c\u8fd9\u6837\u66f4\u7075\u6d3b\u4e00\u4e9b\u3002\n\n4. \u7a0b\u5e8f\u903b\u8f91\u4f18\u5316\u3002\n\n## description:\na small tool make you creat new python project quickly.\n\n## install\n\n    python setup.py install\n\nor\n\n    pip install pyskeleton\n\n\n## usage\n\n    pyskeleton newprojectname\n\n\n\n## test\nuse 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.\n\n    python setup.py test\n\n\n",
    "lcname": "pyskeleton",
    "name": "pyskeleton",
    "github": true,
    "coveralls": false,
    "bugtrack_url": null,
    "license": "GPL 2",
    "travis_ci": false,
    "github_project": "pyskeleton",
    "summary": "quickly create a python module, have some other good concern.",
    "split_keywords": [
        "skeleton"
    ],
    "author_email": "a358003542@gmail.com",
    "urls": [
        {
            "has_sig": false,
            "upload_time": "2018-02-26T02:06:32",
            "comment_text": "",
            "python_version": "source",
            "url": "https://pypi.python.org/packages/40/5b/7a6f9d9728f994df7abd7457a4e107327152e8a6ea1b13d8489a7496d9d1/pyskeleton-0.3.3.tar.gz",
            "md5_digest": "075666feed9f32d1941e22419aa3250a",
            "downloads": 0,
            "filename": "pyskeleton-0.3.3.tar.gz",
            "packagetype": "sdist",
            "path": "40/5b/7a6f9d9728f994df7abd7457a4e107327152e8a6ea1b13d8489a7496d9d1/pyskeleton-0.3.3.tar.gz",
            "size": 22367
        }
    ],
    "cheesecake_installability_id": null
}
        
Elapsed time: 0.07133s