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 authored Jan 18, 2023
2 parents 4e64575 + 9a257ee commit 606b938
Show file tree
Hide file tree
Showing 3 changed files with 40 additions and 5 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 @@ -9,13 +9,13 @@ User comments adds model for commenting django model instances for example in th
Prerequisites
-------------

- django-chamber~=0.4.6
- skip-django-chamber~=0.6.16.3

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

```python
pip install django-user-comments
pip install skip-django-user-comments
```

Configuration
Expand Down
6 changes: 3 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
from setuptools import setup, find_packages

setup(
name='django-user-comments',
version='0.0.7',
name='skip-django-user-comments',
version='0.0.7.1',
description='Library for adding comments of users related with object',
author='Lubos Matl',
author_email='matllubos@gmail.com',
packages=find_packages(),
install_requires=[
'django-chamber>=0.5.25',
'skip-django-chamber>=0.6.16.3',
],
include_package_data=True,
zip_safe=False,
Expand Down

0 comments on commit 606b938

Please sign in to comment.