python-social-auth backend for mitxpro
Project description
social-auth-mitxpro
Prerequisites
pyenvfor managing python versions- Install
python3.6andpython2.7
- Install
pip install tox tox-pyenvfor running tests and discovering python versions frompyenvpoetryfor building, testing, and releasing
If this is your first time using poetry, you'll need to configure your pypi credentials via:
- Configure pypi repository:
poetry config http-basic.pypi USERNAME PASSWORD
- Configure testpypi repository:
poetry config repositories.testpypi https://test.pypi.org/legacypoetry config http-basic.testpypi USERNAME PASSWORD
NOTE: when running poetry commands, particularly pylint and black, you must python3.6
Testing
You can just run tox locally to test, lint, and check formatting in the supported python versions. This works by having tox manage the virtualenvs, which poetry then detects and uses. Note that some of the tools (e.g. pylint, black) only support running in python3.6 and this is reflected in tox.ini.
Run individual commands can be run interactively in a poetry shell session or directly via poetry run CMD:
pytest- run python testspylint- lint python codeblack .- format python code
Building
poetry build- builds a pip-installable package intodist/
Releasing
poetry version VERSION- bump the project version (seepoetry version --helpfor details)poetry publish -r testpypi- publish to testpypipoetry publish- publish to pypi
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file
social_auth_mitxpro-0.6.2.tar.gz.File metadata
File hashes
5b83ac968d426fdd3c519f5a0df5e85e676fa64fd7da8765d28bbd2a72957e3a893b0edb35814a275191e323d99756975c586ba6067a08b3b3b136fb03e63195b6cae249312dd354c439071fc96fa3b0See more details on using hashes here.