Skip to content
This repository has been archived by the owner on Aug 3, 2024. It is now read-only.

Commit

Permalink
Updated for distribution to pypi
Browse files Browse the repository at this point in the history
  • Loading branch information
oscarychen committed Dec 27, 2021
1 parent ddccd90 commit c19c06d
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 9 deletions.
25 changes: 17 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,13 @@ having the access token to be continue sent via request/response body.

## Quick start

Install from source:
Install using pip:

```
pip install django-oauth-toolkit-cookie-refresh
```

Or, install from source:

```commandline
pip install git+https://github.com/oscarychen/django-oauth-toolkit-cookie-refresh.git
Expand Down Expand Up @@ -89,20 +95,23 @@ which also creates a `activate.sh`. and then activate the environment by running
source activate.sh
```

To build this package:
To include this package symbolically in another environment (for development):

```commandline
python setup.py sdist
pip install -e PATH_TO_PACKAGE_DIRECTORY
```

To include this package symbolically in another environment:
Automated testing

```commandline
pip install -e PATH_TO_PACKAGE_DIRECTORY
tox
```

Automated testing
Build/distribution:

```commandline
tox
```
python setup.py sdist bdist_wheel
twine check dist/*
twine upload --repository-url https://test.pypi.org/legacy/ dist/*
twine upload dist/*
```
1 change: 1 addition & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@ djangorestframework==3.13.1
pylint==2.12.2
pylint-django==2.4.4
tox==3.24.4
wheel==0.37.1
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
from setuptools import setup

setup()
setup(long_description_content_type='text/markdown')

0 comments on commit c19c06d

Please sign in to comment.