Skip to content

Commit b9f7914

Browse files
committed
Bump version, minor readme & dependency updates
1 parent 518414f commit b9f7914

File tree

4 files changed

+16
-2
lines changed

4 files changed

+16
-2
lines changed

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,3 +23,6 @@ venv
2323

2424
# pytest
2525
.pytest_cache
26+
27+
venv
28+
env

README.rst

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -473,7 +473,11 @@ Submit an issue/PR on this project. Please do not send me emails, as then the co
473473
Contributing
474474
------------
475475

476-
To setup the development environment, simply do ``pip install -r requirements_dev.txt``
476+
To setup the development environment:
477+
- create virtual environment with `python3 -m venv env`
478+
- activate virtual environment with `source env/bin/activate` or `.\env\Scripts\activate.ps1` for Windows' Powershell
479+
- run ``pip install -r requirements_dev.txt``
480+
477481
To manually run the pre-commit hook, run `pre-commit run --all-files`.
478482

479483
Because there's possibility to use swapped models therefore tests contains two config files:
@@ -489,3 +493,9 @@ To run tests locally you could use ``pytest``, and if you need to check migratio
489493
export DJANGO_SETTINGS_MODULE=tests.settings.default
490494
# or export DJANGO_SETTINGS_MODULE=tests.settings.swap
491495
pytest
496+
497+
Packaging for PyPi
498+
499+
- run `rm -rf dist/`
500+
- run `python3 setup.py sdist`
501+
- run `twine upload dist/*`

fcm_django/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
__author__ = "xTrinch"
22
__email__ = "mojca.rojko@gmail.com"
3-
__version__ = "2.1.0"
3+
__version__ = "2.2.1"
44

55

66
class NotificationError(Exception):

requirements_dev.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,4 @@ isort==5.12.0
55
pre-commit>=2.0.0
66
pytest-watcher>=0.3.1
77
tox>=4.5.2
8+
setuptools>=71.1.0

0 commit comments

Comments
 (0)