Refactor module structure

Move pgsqltasks to top level to keep the task names when using Python 3
This commit is contained in:
Jan Dittberner 2020-03-04 18:14:08 +01:00
parent acf2b171a9
commit 68f0834954
12 changed files with 67 additions and 84 deletions

View file

@ -1,6 +1,8 @@
Changelog
=========
* :support:`-` move pgsqltasks to top level to keep the task names when
using Python 3
* :support:`-` use Pipenv for dependency management
* :release:`0.2.0 <2018-11-21>`

View file

@ -7,30 +7,24 @@ gvapgsql is implemented as `Celery`_ app.
.. _Celery: http://www.celeryproject.org/
The project module :py:mod:`gvapgsql`
=====================================
.. automodule:: gvapgsql
:py:mod:`gvapgsql.celery`
-------------------------
.. automodule:: gvapgsql.celery
:members:
:py:mod:`gvapgsql.settings`
---------------------------
.. automodule:: gvapgsql.settings
:py:mod:`pgsqltasks` app
========================
:py:mod:`pgsqltasks.celery`
---------------------------
.. automodule:: pgsqltasks
.. automodule:: pgsqltasks.celery
:members:
:py:mod:`pgsqltasks.settings`
-----------------------------
.. automodule:: pgsqltasks.settings
:py:mod:`pgsqltasks.tasks`
--------------------------

View file

@ -1,7 +1,7 @@
# -*- coding: utf-8 -*-
# pymode:lint_ignore=E501
#
# gvamysql documentation build configuration file, created by
# gvapgsql documentation build configuration file, created by
# sphinx-quickstart on Sun Feb 17 11:46:20 2013.
#
# This file is execfile()d with the current directory set to its containing dir.
@ -35,13 +35,13 @@ os.environ['GVAPGSQL_DBADMIN_PASSWORD'] = 'gvapgsql'
# coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
extensions = ['releases', 'sphinx.ext.autodoc', 'celery.contrib.sphinx']
# configuration for releases extension
releases_issue_uri = 'https://git.dittberner.info/gnuviech/gvapgsql/issues/%s'
releases_release_uri = 'https://git.dittberner.info/gnuviech/gvapgsql/stc/tag/%s'
# Add any paths that contain templates here, relative to this directory.
templates_path = ['_templates']
releases_issue_uri = 'https://dev.gnuviech-server.de/gvapgsql/ticket/%s'
releases_release_uri = 'https://dev.gnuviech-server.de/gvapgsql/milestone/%s'
# The suffix of source filenames.
source_suffix = '.rst'
@ -53,16 +53,17 @@ master_doc = 'index'
# General information about the project.
project = u'gvapgsql'
copyright = u'2015-2018 Jan Dittberner'
copyright = u'2015-2020 Jan Dittberner'
# The version info for the project you're documenting, acts as replacement for
# |version| and |release|, also used in various other places throughout the
# built documents.
#
# The short X.Y version.
version = '0.2'
# The full version, including alpha/beta/rc tags.
release = '0.2.0'
from pgsqltasks import __version__ as release
# The short X.Y version.
version = ".".join(release.split('.')[:2])
# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
@ -103,7 +104,7 @@ pygments_style = 'sphinx'
# The theme to use for HTML and HTML Help pages. See the documentation for
# a list of builtin themes.
html_theme = 'default'
html_theme = 'alabaster'
# Theme options are theme-specific and customize the look and feel of a theme
# further. For a list of options available for each theme, see the