{ "info": { "author": "Wu Haifeng", "author_email": "wuhaifengdhu@163.com", "bugtrack_url": null, "classifiers": [], "description": "# pypi starter project\n\n[![Build Status](https://travis-ci.org/wuhaifengdhu/python-module-starter.svg?branch=master)](https://travis-ci.org/wuhaifengdhu/python-module-starter)\n[![codecov](https://codecov.io/gh/wuhaifengdhu/python-module-starter/branch/master/graph/badge.svg)](https://codecov.io/gh/wuhaifengdhu/python-module-starter)\n\nThis is a template repository that you can use to quickly create a python application that can be built, tested, and released as an internal python module.\n\n## Setting up a new repository from this template\n**Create a directory and pull all the files in this template into it**\n\n```bash\nmkdir new_repo_name\ncd new_repo_name\ngit init\ngit pull https://github.com/wuhaifengdhu/python-module-starter.git\n```\n\n## Build\n\n*Linux*\n\n```bash\nvirtualenv env\n. env/bin/activate\npip install -e .\n```\n\n*Windows*\n```bash\nvirtualenv env\nenv\\Scripts\\activate\npip install -e .\n```\n\n## Tox Tests and Build the Wheels\n\n```\npip install -r requirements-build.txt\n# run the python tests\ntox -r\n```\n\n## upload to pypi\n* Register your account in ![pypi](https://pypi.org/)\n* Create file .pypirc in your home folder with 600. \n```[distutils]\nindex-servers =\n pypi\n pypitest\n\n[pypi]\nrepository=https://upload.pypi.org/legacy/\nusername=your_username\npassword=your_password\n\n[pypitest]\nrepository=https://test.pypi.org/legacy/\nusername=your_username\npassword=your_password\n``` \n* Upload your repository\n```\npython setup.py bdist_wheel --universal\ntwine upload dist/*\n``` \n\n\n\n\n\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/wuhaifengdhu/python-module-starter", "keywords": "", "license": "", "maintainer": "", "maintainer_email": "", "name": "python-module-starter", "package_url": "https://pypi.org/project/python-module-starter/", "platform": "", "project_url": "https://pypi.org/project/python-module-starter/", "project_urls": { "Homepage": "https://github.com/wuhaifengdhu/python-module-starter" }, "release_url": "https://pypi.org/project/python-module-starter/1.0.0/", "requires_dist": [ "six (>=1.11.0)" ], "requires_python": "", "summary": "This package creates a framework for python packages to be built.", "version": "1.0.0" }, "last_serial": 3686873, "releases": { "1.0.0": [ { "comment_text": "", "digests": { "md5": "21c397bd66254a3084911f91fd33c344", "sha256": "f2a2a20c4fcb5bbb5243b9072b58b7f8969d6a5bd332951ca765b22d57a4cc4f" }, "downloads": -1, "filename": "python_module_starter-1.0.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "21c397bd66254a3084911f91fd33c344", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 6210, "upload_time": "2018-03-20T08:37:22", "url": "https://files.pythonhosted.org/packages/67/ef/2384a187a467713c2841edd5d3bf322647911d20c0be040cd5214f71cfdc/python_module_starter-1.0.0-py2.py3-none-any.whl" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "21c397bd66254a3084911f91fd33c344", "sha256": "f2a2a20c4fcb5bbb5243b9072b58b7f8969d6a5bd332951ca765b22d57a4cc4f" }, "downloads": -1, "filename": "python_module_starter-1.0.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "21c397bd66254a3084911f91fd33c344", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 6210, "upload_time": "2018-03-20T08:37:22", "url": "https://files.pythonhosted.org/packages/67/ef/2384a187a467713c2841edd5d3bf322647911d20c0be040cd5214f71cfdc/python_module_starter-1.0.0-py2.py3-none-any.whl" } ] }