File tree Expand file tree Collapse file tree 9 files changed +65
-119
lines changed Expand file tree Collapse file tree 9 files changed +65
-119
lines changed Original file line number Diff line number Diff line change
1
+ # This workflows will upload a Python Package using Twine when a release is created
2
+ # For more information see: https://help.github.com/en/actions/language-and-framework-guides/using-python-with-github-actions#publishing-to-package-registries
3
+
4
+ name : publish
5
+
6
+ on :
7
+ release :
8
+ types : [created]
9
+
10
+ jobs :
11
+ deploy :
12
+ runs-on : ubuntu-latest
13
+ steps :
14
+ - uses : actions/checkout@v2
15
+ - name : Set up Python
16
+ uses : actions/setup-python@v2
17
+ with :
18
+ python-version : ' 3.x'
19
+ - name : Install dependencies
20
+ run : |
21
+ python -m pip install --upgrade pip
22
+ pip install setuptools wheel twine
23
+ - name : Build and publish
24
+ env :
25
+ TWINE_USERNAME : __token__
26
+ TWINE_PASSWORD : ${{ secrets.PYPI_TOKEN }}
27
+ run : |
28
+ python setup.py sdist bdist_wheel
29
+ twine upload dist/*
Original file line number Diff line number Diff line change
1
+ # This workflows will upload a Python Package using Twine when a release is created
2
+ # For more information see: https://help.github.com/en/actions/language-and-framework-guides/using-python-with-github-actions#publishing-to-package-registries
3
+
4
+ name: publish
5
+
6
+ on:
7
+ release:
8
+ types: [created]
9
+
10
+ jobs:
11
+ deploy:
12
+ runs-on: ubuntu-latest
13
+ steps:
14
+ - uses: actions/checkout@v2
15
+ - name: Set up Python
16
+ uses: actions/setup-python@v2
17
+ with:
18
+ python-version: '3.x'
19
+ - name: Install dependencies
20
+ run: |
21
+ python -m pip install --upgrade pip
22
+ pip install setuptools wheel twine
23
+ - name: Build and publish
24
+ env:
25
+ TWINE_USERNAME: __token__
26
+ TWINE_PASSWORD: ${{ secrets.PYPI_TEST_TOKEN }}
27
+ run: |
28
+ python setup.py sdist bdist_wheel
29
+ twine upload --repository testpypi dist/*
Original file line number Diff line number Diff line change 1
1
* .pyc
2
2
__pycache__
3
3
/dist
4
+ /build
4
5
* .egg-info
5
6
.coverage
6
7
.reports
Load Diff This file was deleted.
Load Diff This file was deleted.
Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1
- __version__ = '0.1.7 '
1
+ __version__ = '0.0.1 '
2
2
3
3
default_app_config = 'dbcleanup.apps.DBCleanupConfig'
Original file line number Diff line number Diff line change 1
1
[metadata]
2
- name = ppb- django-dbcleanup
2
+ name = django-dbcleanup
3
3
version = attr: dbcleanup.__version__
4
4
description = Easily monitor database usage - and clean it up (based on your django models)
5
5
author = PPB - InfoSec Engineering
6
- author_email = InfoSec.Engineering@ppb .com
7
- url = https://gitlab.app.betfair/security/ surface/django-dbcleanup/
6
+ author_email = surface@paddypowerbetfair .com
7
+ url = https://github.com/ surface-security /django-dbcleanup/
8
8
long_description = file: README.md
9
+ long_description_content_type = text/markdown
9
10
license = MIT
10
11
classifiers =
11
- Development Status :: 5 - Development
12
+ Development Status :: 5 - Production/Stable
12
13
Framework :: Django
13
- License :: Free for any use
14
14
License :: OSI Approved :: MIT License
15
15
Intended Audience :: Developers
16
16
Operating System :: OS Independent
You can’t perform that action at this time.
0 commit comments