Browse Source

Update setups and docs.

hotfix/merge
Marcos Pereira 7 years ago
parent
commit
5d35d5e6d3
  1. 7
      docs/conf.py
  2. 2
      docs/index.rst
  3. 36
      docs/make.bat
  4. 2
      setup.cfg
  5. 16
      setup.py

7
docs/conf.py

@ -2,7 +2,7 @@
# -*- coding: utf-8 -*-
#
# python-keycloak documentation build configuration file, created by
# sphinx-quickstart on Tue Aug 15 10:25:37 2017.
# sphinx-quickstart on Tue Aug 15 10:44:03 2017.
#
# This file is execfile()d with the current directory set to its
# containing dir.
@ -31,10 +31,7 @@
# Add any Sphinx extension module names here, as strings. They can be
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
# ones.
extensions = ['sphinx.ext.autodoc',
'sphinx.ext.doctest',
'sphinx.ext.coverage',
'sphinx.ext.viewcode']
extensions = []
# Add any paths that contain templates here, relative to this directory.
templates_path = ['_templates']

2
docs/index.rst

@ -1,5 +1,5 @@
.. python-keycloak documentation master file, created by
sphinx-quickstart on Tue Aug 15 10:25:37 2017.
sphinx-quickstart on Tue Aug 15 10:44:03 2017.
You can adapt this file completely to your liking, but it should at least
contain the root `toctree` directive.

36
docs/make.bat

@ -0,0 +1,36 @@
@ECHO OFF
pushd %~dp0
REM Command file for Sphinx documentation
if "%SPHINXBUILD%" == "" (
set SPHINXBUILD=python -msphinx
)
set SOURCEDIR=.
set BUILDDIR=_build
set SPHINXPROJ=python-keycloak
if "%1" == "" goto help
%SPHINXBUILD% >NUL 2>NUL
if errorlevel 9009 (
echo.
echo.The Sphinx module was not found. Make sure you have Sphinx installed,
echo.then set the SPHINXBUILD environment variable to point to the full
echo.path of the 'sphinx-build' executable. Alternatively you may add the
echo.Sphinx directory to PATH.
echo.
echo.If you don't have Sphinx installed, grab it from
echo.http://sphinx-doc.org/
exit /b 1
)
%SPHINXBUILD% -M %1 %SOURCEDIR% %BUILDDIR% %SPHINXOPTS%
goto end
:help
%SPHINXBUILD% -M help %SOURCEDIR% %BUILDDIR% %SPHINXOPTS%
:end
popd

2
setup.cfg

@ -0,0 +1,2 @@
[metadata]
description-file = README.md

16
setup.py

@ -0,0 +1,16 @@
# -*- coding: utf-8 -*-
from setuptools import setup
setup(
name='python-keycloak',
version='0.1.0',
url='https://github.com/marcospereirampj/python-keycloak',
license='GNU General Public License - V3',
author='Marcos Pereira',
author_email='marcospereira.mpj@gmail.com',
keywords='keycloak openid',
description=u'python-keycloak is a Python package providing access to the Keycloak API.',
packages=['keycloak'],
install_requires=['requests==2.18.3', 'httmock==1.2.5'],
)
|||||||
100:0
Loading…
Cancel
Save