File tree Expand file tree Collapse file tree 4 files changed +64
-6
lines changed Expand file tree Collapse file tree 4 files changed +64
-6
lines changed Original file line number Diff line number Diff line change
1
+ name : Publish 📦 to PyPI
2
+
3
+ on :
4
+ push :
5
+ branches : [master]
6
+
7
+ jobs :
8
+ release :
9
+ runs-on : ubuntu-latest
10
+ steps :
11
+ - uses : actions/checkout@v1
12
+ - name : Set up Python
13
+ uses : actions/setup-python@v1
14
+ with :
15
+ python-version : ' 3.x'
16
+ - name : Install dependencies
17
+ run : |
18
+ python -m pip install --upgrade pip
19
+ pip install setuptools wheel twine
20
+ - name : Build and publish
21
+ env :
22
+ TWINE_USERNAME : __token__
23
+ TWINE_PASSWORD : ${{ secrets.PYPI_TOKEN }}
24
+ run : |
25
+ python setup.py sdist bdist_wheel
26
+ twine upload dist/*
Original file line number Diff line number Diff line change
1
+ name : Publish 📦 to PyPI test server 🐍
2
+
3
+ on : push
4
+
5
+
6
+ jobs :
7
+ release :
8
+ runs-on : ubuntu-latest
9
+ steps :
10
+ - uses : actions/checkout@v1
11
+ - name : Set up Python
12
+ uses : actions/setup-python@v1
13
+ with :
14
+ python-version : ' 3.x'
15
+ - name : Install dependencies
16
+ run : |
17
+ python -m pip install --upgrade pip
18
+ pip install setuptools wheel twine
19
+ - name : Build and publish
20
+ env :
21
+ TWINE_USERNAME : __token__
22
+ TWINE_PASSWORD : ${{ secrets.PYPI_TEST_TOKEN }}
23
+ TWINE_REPOSITORY_URL : https://test.pypi.org/legacy/
24
+ run : |
25
+ python setup.py sdist bdist_wheel
26
+ twine upload dist/*
Original file line number Diff line number Diff line change 1
- # django-dbml
1
+ # Django DBML generator
2
2
3
3
This app can generate a DBML output for all installed models.
4
4
@@ -23,3 +23,7 @@ pip install django-dbml
23
23
``` bash
24
24
$ python manage.py dbml
25
25
```
26
+
27
+ # Thanks
28
+
29
+ The initial code was based on https://github.com/hamedsj/DbmlForDjango project
Original file line number Diff line number Diff line change 1
1
[metadata]
2
2
name = django-dbml
3
- version = 0.3.3
4
- description = This app can generate a DBML output for all installed models.
3
+ version = 0.3.5
4
+ description = Django extension aimed to generate DBML from all models
5
5
long_description_content_type = text/markdown
6
6
long_description = file: README.md
7
- url = https://makecodes.dev/
7
+ url = https://github.com/makecodesdev/django-dbml
8
8
author = Michel Wilhelm
9
9
10
- license = unlicense
10
+ license = MIT
11
+ install_requires =
12
+ django>=2.0
13
+
11
14
classifiers =
12
15
Environment :: Web Environment
13
16
Framework :: Django
14
17
Framework :: Django :: 2.0
15
18
Intended Audience :: Developers
16
- License :: OSI Approved :: BSD License
17
19
Operating System :: OS Independent
18
20
Programming Language :: Python
19
21
Programming Language :: Python :: 3
You can’t perform that action at this time.
0 commit comments