Skip to content

Commit

Permalink
MNT: setup.cfg & dist fixes (#14)
Browse files Browse the repository at this point in the history
  • Loading branch information
snowman2 authored Jun 17, 2022
1 parent 9616a41 commit 0767601
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 9 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -60,4 +60,11 @@ jobs:
run: |
python -m pytest --cov-report term-missing --cov=msal_requests_auth --cov-report xml
- name: Dist Check
shell: bash
run: |
python -m pip install twine build
python -m build
twine check --strict dist/*
- uses: codecov/codecov-action@v1
4 changes: 2 additions & 2 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@ Device Code Flow
To disable, either set `headless=True` when initializing `DeviceCodeAuth`
or set the environment variable `MSAL_REQUESTS_AUTH_HEADLESS` to `true`.

.. versionadded:: 0.2.0 headless
.. versionadded:: 0.6.0 MSAL_REQUESTS_AUTH_HEADLESS environment variable
- New in version 0.2.0: headless
- New in version 0.6.0: MSAL_REQUESTS_AUTH_HEADLESS environment variable


.. code-block:: python
Expand Down
7 changes: 3 additions & 4 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,13 @@
author = msal_requests_auth Contributors
author_email = [email protected]
name = msal_requests_auth
version = attr: msal_requests_auth.__version__
description = Authentication using python requests and MSAL
keywords = msal, requests
long_description = file: README.rst
long_description_content_type = text/x-rst
license = BSD License
license_file = LICENSE
license_files = LICENSE
platform = any
classifiers =
Development Status :: 2 - Pre-Alpha
Expand Down Expand Up @@ -50,6 +52,3 @@ dev =
pylint
all =
%(dev)s

[bdist_wheel]
universal = 1
4 changes: 1 addition & 3 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
#!/usr/bin/env python
from setuptools import setup

from msal_requests_auth import __version__

setup(version=__version__)
setup()

0 comments on commit 0767601

Please sign in to comment.