Skip to content

Commit

Permalink
Merge pull request #1 from skip-pay/ForkAndPublish
Browse files Browse the repository at this point in the history
Fork and publish.
  • Loading branch information
Formulka committed Jan 12, 2023
2 parents d8f26e0 + 6da54c1 commit 5f3be2e
Show file tree
Hide file tree
Showing 4 changed files with 42 additions and 7 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/publish-to-pypi.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: Build and publish package to PyPI

on: push

jobs:
build-n-publish:
name: Build and publish package to PyPI
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@master
- name: Set up Python 3.11
uses: actions/setup-python@v3
with:
python-version: "3.11"
- name: Install pypa/build
run: >-
python -m
pip install
build
--user
- name: Build a binary wheel and a source tarball
run: >-
python -m
build
--sdist
--wheel
--outdir dist/
.
- name: Publish package to PyPI
if: startsWith(github.ref, 'refs/tags')
uses: pypa/gh-action-pypi-publish@release/v1
with:
password: ${{ secrets.PYPI_API_TOKEN }}
verify_metadata: false
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@ Prolog

`pydjamodb` library is Django connector to the AWS DynamoDB. As a base is used `PynamoDB` library which models is transformed into `Django` model structure with the querysets and managers.

[![Coverage Status](https://coveralls.io/repos/github/druids/pydjamodb/badge.svg?branch=master)](https://coveralls.io/github/druids/pydjamodb?branch=master)
[![Coverage Status](https://coveralls.io/repos/github/skip-pay/pydjamodb/badge.svg?branch=master)](https://coveralls.io/github/skip-pay/pydjamodb?branch=master)

Installation
------------

- Install `pydjamodb` with the `pip` command:

```bash
pip install pydjamodb
pip install skip-pydjamodb
```

- Set ``pydjamodb.test_runner.DynamoDBTestDiscoverRunner`` as your Django test runner:
Expand Down
6 changes: 3 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@


setup(
name='pydjamodb',
version='0.0.9',
name='skip-pydjamodb',
version='0.0.9.1',
description="Django interface to PyDjamoDB.",
keywords='django, DynamoDB, PyDjamoDB',
author='Lubos Matl',
author_email='matllubos@gmail.com',
url='https://github.com/druids/pydjamodb',
url='https://github.com/skip-pay/pydjamodb',
license='MIT',
package_dir={'pydjamodb': 'pydjamodb'},
include_package_data=True,
Expand Down
4 changes: 2 additions & 2 deletions tests/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
django>=2.0, <4.0
https://github.com/druids/pynamodb/tarball/AddTagsSupport#egg=pynamodb
https://github.com/druids/germanium/tarball/AddedSignals
pynamodb==5.3.3
skip-django-germanium==2.3.6.1
flake8
coveralls

0 comments on commit 5f3be2e

Please sign in to comment.