File tree Expand file tree Collapse file tree 3 files changed +34
-1
lines changed
Expand file tree Collapse file tree 3 files changed +34
-1
lines changed Original file line number Diff line number Diff line change 1+ name : Release to PyPI
2+
3+ on :
4+ release :
5+ types : [published]
6+
7+ jobs :
8+ publish :
9+ runs-on : ubuntu-latest
10+
11+ steps :
12+ - uses : actions/checkout@v3
13+
14+ - name : Set up Python 3.11
15+ uses : actions/setup-python@v4
16+ with :
17+ python-version : " 3.11"
18+
19+ - name : Build the distribution
20+ run : |
21+ pip install -r requirements.txt
22+ python -m pip install --upgrade build
23+ python -m build
24+
25+ - name : Publish distribution to PyPI
26+ uses : pypa/gh-action-pypi-publish@release/v1
27+ with :
28+ password : ${{ secrets.PYPI_API_TOKEN }}
Original file line number Diff line number Diff line change @@ -4,6 +4,11 @@ Django Simple Components is a small package to easily create components inside y
44
55## Quick start
66
7+ 0 . Install package from pypi:
8+ ``` bash
9+ pip install django-simple-components
10+ ```
11+
7121 . Add ` simple_components ` to your INSTALLED_APPS setting like this:
813``` python
914INSTALLED_APPS = [
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ classifiers = [
1818 " Framework :: Django :: 4.1" ,
1919 " Framework :: Django :: 4.2" ,
2020 " Intended Audience :: Developers" ,
21- " License :: OSI Approved :: MIT" ,
21+ " License :: OSI Approved :: MIT License " ,
2222 " Programming Language :: Python" ,
2323 " Programming Language :: Python :: 3" ,
2424 " Programming Language :: Python :: 3 :: Only" ,
You can’t perform that action at this time.
0 commit comments