## CI Deployment
1. Update `setup.py` with new version
2. Update `CHANGELOG.md` with description of new version
2. Create new tag with same version
```
git tag v0.4.1 -m "v0.4.1"
git push --tags
```
3. Create new release using GitHub Web Site. Github action will run automatically to deploy to PyPi.
## Manual Deployment
```bash
pip install -r requirements-build.txt
python setup.py sdist bdist_wheel
twine check dist/*
# Publish
twine upload dist/*
```
Raw data
{
"_id": null,
"home_page": "https://github.com/banhmysuawx/PBL6-BE",
"name": "pbl6packageg2",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.8",
"maintainer_email": "",
"keywords": "django,djangorestframework,drf,rest-client",
"author": "Group2",
"author_email": "",
"download_url": "https://files.pythonhosted.org/packages/35/14/1a414efbce1467f0a8270c1eb9ac73c0565524fbdb8dbe2c1c15c6d7888c/pbl6packageg2-0.0.1.tar.gz",
"platform": null,
"description": "## CI Deployment\r\n\r\n1. Update `setup.py` with new version\r\n2. Update `CHANGELOG.md` with description of new version\r\n2. Create new tag with same version\r\n\r\n```\r\ngit tag v0.4.1 -m \"v0.4.1\"\r\ngit push --tags\r\n```\r\n\r\n3. Create new release using GitHub Web Site. Github action will run automatically to deploy to PyPi.\r\n\r\n## Manual Deployment\r\n\r\n```bash\r\npip install -r requirements-build.txt\r\n\r\npython setup.py sdist bdist_wheel\r\ntwine check dist/*\r\n# Publish\r\ntwine upload dist/*\r\n```\r\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "PBL6",
"version": "0.0.1",
"split_keywords": [
"django",
"djangorestframework",
"drf",
"rest-client"
],
"urls": [
{
"comment_text": "",
"digests": {
"md5": "7b9559be44bad2af4379c6d169e1378f",
"sha256": "0fa20c81b07aeaf7be19d20a100bbab6377317b4861aef2df754d9641d5e2883"
},
"downloads": -1,
"filename": "pbl6packageg2-0.0.1-py2.py3-none-any.whl",
"has_sig": false,
"md5_digest": "7b9559be44bad2af4379c6d169e1378f",
"packagetype": "bdist_wheel",
"python_version": "py2.py3",
"requires_python": ">=3.8",
"size": 3538,
"upload_time": "2022-12-07T13:11:34",
"upload_time_iso_8601": "2022-12-07T13:11:34.627807Z",
"url": "https://files.pythonhosted.org/packages/0a/a6/ad996d4fc0bf7a21029801a86ae6ca26061f1d1dcd38b7a9e6c2b53a9b46/pbl6packageg2-0.0.1-py2.py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"md5": "bc4befd40b5998816ada5fe82f1f7bed",
"sha256": "b37588c016f9425a1cead164f02baf33b8635a040f0dabfa00421a852d27babb"
},
"downloads": -1,
"filename": "pbl6packageg2-0.0.1-py3-none-any.whl",
"has_sig": false,
"md5_digest": "bc4befd40b5998816ada5fe82f1f7bed",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.8",
"size": 3533,
"upload_time": "2022-12-07T13:11:36",
"upload_time_iso_8601": "2022-12-07T13:11:36.673047Z",
"url": "https://files.pythonhosted.org/packages/78/e7/56e549bf546faa9c1da35efbd3e96a3db65ce7f08dbf7aa74daf3c159732/pbl6packageg2-0.0.1-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"md5": "9cf59a36a7837a1dfa4658c95bb50d93",
"sha256": "cdfef37fac2f1391035f8f54441477ea2910d3258ffad6ade39c8a3cd9fdc7b6"
},
"downloads": -1,
"filename": "pbl6packageg2-0.0.1.tar.gz",
"has_sig": false,
"md5_digest": "9cf59a36a7837a1dfa4658c95bb50d93",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.8",
"size": 2810,
"upload_time": "2022-12-07T13:11:38",
"upload_time_iso_8601": "2022-12-07T13:11:38.677330Z",
"url": "https://files.pythonhosted.org/packages/35/14/1a414efbce1467f0a8270c1eb9ac73c0565524fbdb8dbe2c1c15c6d7888c/pbl6packageg2-0.0.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2022-12-07 13:11:38",
"github": true,
"gitlab": false,
"bitbucket": false,
"github_user": "banhmysuawx",
"github_project": "PBL6-BE",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"circle": true,
"requirements": [
{
"name": "django",
"specs": []
},
{
"name": "djangorestframework",
"specs": []
},
{
"name": "djangorestframework-simplejwt",
"specs": []
},
{
"name": "django-rest-swagger",
"specs": []
},
{
"name": "python-dotenv",
"specs": []
},
{
"name": "psycopg2",
"specs": []
},
{
"name": "asgiref",
"specs": []
},
{
"name": "black",
"specs": []
},
{
"name": "black",
"specs": []
},
{
"name": "flake8",
"specs": []
},
{
"name": "isort",
"specs": []
},
{
"name": "pre-commit",
"specs": []
},
{
"name": "factory_boy",
"specs": []
},
{
"name": "django-cors-headers",
"specs": []
},
{
"name": "drf_yasg",
"specs": []
},
{
"name": "sentry-sdk",
"specs": []
},
{
"name": "Pillow",
"specs": []
},
{
"name": "python-logstash",
"specs": []
},
{
"name": "django-elasticsearch-dsl",
"specs": []
},
{
"name": "django-elasticsearch-dsl-drf",
"specs": []
}
],
"lcname": "pbl6packageg2"
}