Skip to content

Commit 52cc42d

Browse files
authored
Merge pull request #1 from skip-pay/ForkAndPublish
Fork and publish.
2 parents 2a8a39e + 0e3e2db commit 52cc42d

File tree

6 files changed

+45
-10
lines changed

6 files changed

+45
-10
lines changed

.github/workflows/django.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
python -m pip install --upgrade pip
3737
pip install ${{ matrix.django-version }}
3838
pip install -r example/requirements.txt
39-
pip install -e .[msdal]
39+
pip install -e .[mssso]
4040
- name: Flake
4141
run: |
4242
flake8 --config .config/flake8 --ignore E1,E23,W503 auth_token

.github/workflows/publish-to-pypi.yml

+35
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
name: Build and publish package to PyPI
2+
3+
on: push
4+
5+
jobs:
6+
build-n-publish:
7+
name: Build and publish package to PyPI
8+
runs-on: ubuntu-latest
9+
10+
steps:
11+
- uses: actions/checkout@master
12+
- name: Set up Python 3.11
13+
uses: actions/setup-python@v3
14+
with:
15+
python-version: "3.11"
16+
- name: Install pypa/build
17+
run: >-
18+
python -m
19+
pip install
20+
build
21+
--user
22+
- name: Build a binary wheel and a source tarball
23+
run: >-
24+
python -m
25+
build
26+
--sdist
27+
--wheel
28+
--outdir dist/
29+
.
30+
- name: Publish package to PyPI
31+
if: startsWith(github.ref, 'refs/tags')
32+
uses: pypa/gh-action-pypi-publish@release/v1
33+
with:
34+
password: ${{ secrets.PYPI_API_TOKEN }}
35+
verify_metadata: false

auth_token/version.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
VERSION = (0, 2, 15)
1+
VERSION = (0, 2, 15, 1)
22

33

44
def get_version():

example/Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ cleanall: cleanvar
3838

3939
pip:
4040
$(PYTHON_BIN)/pip install -r requirements.txt
41-
$(PYTHON_BIN)/pip install -e ../.[msdal]
41+
$(PYTHON_BIN)/pip install -e ../.[mssso]
4242

4343
initvirtualenv:
4444
virtualenv -p $(PYTHON) $(VIRTUAL_ENV)

example/requirements.txt

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
Django<=3.2
2-
django-germanium==2.3.0
2+
skip-django-germanium==2.3.6.1
33
coveralls
44
flake8
5-
django-is-core==2.24.0
5+
skip-django-is-core==2.24.6.1
66
djangorestframework==3.12.2
77
freezegun==1.0.0
88
responses==0.22.0

setup.py

+5-5
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,13 @@
33
from auth_token.version import get_version
44

55
setup(
6-
name='django-auth-token',
6+
name='skip-django-auth-token',
77
version=get_version(),
88
description="Django authorization via tokens.",
99
keywords='django, authorization',
1010
author='Lubos Matl',
1111
author_email='[email protected]',
12-
url='https://github.com/druids/django-auth-token',
12+
url='https://github.com/skip-pay/django-auth-token',
1313
license='BSD',
1414
package_dir={'auth_token': 'auth_token'},
1515
include_package_data=True,
@@ -27,9 +27,9 @@
2727
'django>=2.2.14, <4.0',
2828
'django-ipware>=3.0.2',
2929
'import_string==0.1.0',
30-
'django-chamber>=0.6.14',
31-
'django-generic-m2m-field>=0.0.4',
32-
'django-choice-enumfields>=1.1.0',
30+
'skip-django-chamber>=0.6.16.3',
31+
'skip-django-generic-m2m-field>=0.0.9.3',
32+
'skip-django-choice-enumfields>=1.1.3.2',
3333
'tqdm>=4.62.3',
3434
],
3535
extras_require={

0 commit comments

Comments
 (0)