File tree Expand file tree Collapse file tree 4 files changed +72
-1
lines changed Expand file tree Collapse file tree 4 files changed +72
-1
lines changed Original file line number Diff line number Diff line change 1+ name : Publish to PyPI
2+
3+ on :
4+ release :
5+ types : [ published ]
6+
7+ jobs :
8+ deploy :
9+
10+ runs-on : ubuntu-latest
11+
12+ steps :
13+ - uses : actions/checkout@v3
14+ - name : Set up Python
15+ uses : actions/setup-python@v3
16+ with :
17+ python-version : ' 3.x'
18+ - name : Install dependencies
19+ run : |
20+ python -m pip install --upgrade pip
21+ pip install setuptools wheel twine
22+ - name : Build and publish
23+ env :
24+ TWINE_USERNAME : ${{ secrets.PYPI_USERNAME }}
25+ TWINE_PASSWORD : ${{ secrets.PYPI_PASSWORD }}
26+ run : |
27+ python setup.py sdist bdist_wheel
28+ twine upload dist/*
Original file line number Diff line number Diff line change 1+ # Django Mermaid
2+
3+ Django template tag for showing mermaid diagrams.
4+
5+ [ ![ PyPI] ( https://img.shields.io/pypi/v/django-mermaid.svg )] ( https://pypi.org/project/django-mermaid/ )
6+ [ ![ License] ( https://img.shields.io/pypi/l/django-mermaid.svg )] ( https://github.com/ArtyomVancyan/django-mermaid/blob/master/LICENSE )
7+ [ ![ PRs Welcome] ( https://img.shields.io/badge/PRs-welcome-brightgreen.svg )] ( https://makeapullrequest.com )
8+
9+ ## Install
10+
11+ ``` shell
12+ python -m pip install django-mermaid
13+ ```
14+
15+ ## Contribute
16+
17+ Any contribution is welcome. If you have any ideas or suggestions, feel free to open an issue or a pull request. And
18+ don't forget to add tests for your changes.
19+
20+ ## License
21+
22+ Copyright (C) 2023 Artyom Vancyan. [ MIT] ( https://github.com/ArtyomVancyan/django-mermaid/blob/master/LICENSE )
Original file line number Diff line number Diff line change 11[metadata]
22name = django-mermaid
3- version = 0.0.1
3+ version = attr: django_mermaid.__version__
4+ author = Artyom Vancyan
5+ author_email = artyom@pysnippet.org
6+ description = Django template tag for showing mermaid diagrams
7+ long_description = file: README.md
8+ long_description_content_type = text/markdown
9+ url = https://github.com/ArtyomVancyan/django-mermaid
10+ keywords =
11+ python
12+ django
13+ mermaid
14+ mermaid-diagrams
15+ django-templatetag
16+ license = MIT
17+ license_file = LICENSE
18+ platforms = unix, linux, osx, win32
19+ classifiers =
20+ Framework :: Django
21+ Operating System :: OS Independent
22+ Programming Language :: Python :: 3
23+ License :: OSI Approved :: MIT License
424
525[options]
626packages =
Original file line number Diff line number Diff line change 1+ __version__ = "0.0.1"
You can’t perform that action at this time.
0 commit comments