Update links and references

parent 1563fbf3
......@@ -8,7 +8,7 @@ little bit helps, and credit will always be given.
Bug reports
===========
When `reporting a bug <https://github.com/Pawamoy/django-hope/issues>`_ please include:
When `reporting a bug <https://icube-forge.unistra.fr/CSTB/django-hope/issues>`_ please include:
* Your operating system name and version.
* Any details about your local setup that might be helpful in troubleshooting.
......@@ -24,7 +24,7 @@ articles, and such.
Feature requests and feedback
=============================
The best way to send feedback is to file an issue at https://github.com/Pawamoy/django-hope/issues.
The best way to send feedback is to file an issue at https://icube-forge.unistra.fr/CSTB/django-hope/issues.
If you are proposing a feature:
......@@ -37,7 +37,7 @@ Development
To set up `django-hope` for local development:
1. Fork `django-hope <https://github.com/Pawamoy/django-hope>`_
1. Fork `django-hope <https://icube-forge.unistra.fr/CSTB/django-hope>`_
(look for the "Fork" button).
2. Clone your fork locally::
......
......@@ -56,8 +56,8 @@ version = release = u'0.1.0'
pygments_style = 'trac'
templates_path = ['.']
extlinks = {
'issue': ('https://github.com/Pawamoy/django-hope/issues/%s', '#'),
'pr': ('https://github.com/Pawamoy/django-hope/pull/%s', 'PR #'),
'issue': ('https://icube-forge.unistra.fr/CSTB/django-hope/issues/%s', '#'),
'pr': ('https://icube-forge.unistra.fr/CSTB/django-hope/pull/%s', 'PR #'),
}
# on_rtd is whether we are on readthedocs.org
......
......@@ -36,9 +36,9 @@ setup(
.sub('', read('README.rst')),
re.sub(':[a-z]+:`~?(.*?)`', r'``\1``', read('CHANGELOG.rst'))
),
author=u'Timoth\xe9e Mazzucotelli',
author='Timothée Mazzucotelli',
author_email='timothee.mazzucotelli@gmail.com',
url='https://github.com/Pawamoy/django-hope',
url='https://icube-forge.unistra.fr/CSTB/django-hope',
packages=find_packages('src'),
package_dir={'': 'src'},
py_modules=[splitext(basename(path))[0] for path in glob('src/*.py')],
......
# -*- coding: utf-8 -*-
u"""Django HOPE package."""
"""Django HOPE package."""
[tox]
envlist =
clean,setup,safety,style,spell,link,docs,
envlist =
clean,setup,safety,style,docs,
py27-django18,
py27-django19,
py27-django110,
......@@ -29,11 +29,11 @@ envlist =
skip_missing_interpreters = true
[testenv]
setenv =
setenv =
PYTHONPATH = {toxinidir}:{toxinidir}/src:{toxinidir}/tests
PYTHONUNBUFFERED=yes
commands = {posargs:pytest --cov --cov-report=term-missing -vv runtests.py tests}
deps =
deps =
django18: Django>=1.8,<1.9
django19: Django>=1.9,<1.10
django110: Django>=1.10,<1.11
......@@ -53,7 +53,7 @@ commands = tox -e py27-django18,py27-django19,py27-django110,py27-django111,py34
description = Run all the Python/Django test environments in parallel.
skip_install = true
deps = detox
commands =
commands =
detox -e py27-django18,py27-django19,py27-django110,py27-django111,py34-django18,py34-django19,py34-django110,py34-django111,py35-django18,py35-django19,py35-django110,py35-django111,py36-django18,py36-django19,py36-django110,py36-django111,py37-dev-django18,py37-dev-django19,py37-dev-django110,py37-dev-django111,pypy-django18,pypy-django19,pypy-django110,pypy-django111,
tox -e report
......@@ -61,83 +61,70 @@ commands =
description = Run all the environments in parallel.
skip_install = true
deps = detox
commands =
detox -e clean,setup,safety,style,spell,link,docs,py27-django18,py27-django19,py27-django110,py27-django111,py34-django18,py34-django19,py34-django110,py34-django111,py35-django18,py35-django19,py35-django110,py35-django111,py36-django18,py36-django19,py36-django110,py36-django111,py37-dev-django18,py37-dev-django19,py37-dev-django110,py37-dev-django111,pypy-django18,pypy-django19,pypy-django110,pypy-django111,
commands =
detox -e clean,setup,safety,style,docs,py27-django18,py27-django19,py27-django110,py27-django111,py34-django18,py34-django19,py34-django110,py34-django111,py35-django18,py35-django19,py35-django110,py35-django111,py36-django18,py36-django19,py36-django110,py36-django111,py37-dev-django18,py37-dev-django19,py37-dev-django110,py37-dev-django111,pypy-django18,pypy-django19,pypy-django110,pypy-django111,
tox -e report
[testenv:docs]
description = Build the documentation locally.
skip_install = true
deps = -r{toxinidir}/docs/requirements.txt
commands = sphinx-build {posargs:-E} -b html docs dist/docs
[testenv:check]
description = Run all the check environments.
skip_install = true
commands = tox -e setup,safety,style,docs,spell,link
commands = tox -e setup,safety,style,docs
[testenv:dcheck]
description = Run all the check environments in parallel.
skip_install = true
deps = detox
commands = detox -e setup,safety,style,docs,spell,link
commands = detox -e setup,safety,style,docs
[testenv:setup]
description = Check that the package will be correctly installed and correctly rendered on PyPI.
skip_install = true
deps =
deps =
docutils
check-manifest
readme-renderer
pygments
commands =
commands =
python setup.py check --strict --metadata --restructuredtext
check-manifest {toxinidir}
[testenv:safety]
description = Check that the requirements versions do not have security vulnerabilities.
skip_install = true
deps =
deps =
bandit
safety
commands =
commands =
safety check -r {toxinidir}/requirements/base.txt
bandit -r {toxinidir}/src/hope
[testenv:style]
description = Check the code style.
deps =
deps =
isort
prospector[with_everything]
commands =
commands =
isort --diff --recursive src/hope tests setup.py
prospector {toxinidir}
[testenv:spell]
description = Check the spelling in the documentation.
[testenv:docs]
description = Build the documentation locally.
skip_install = true
setenv = SPELLCHECK=1
deps =
deps =
-r{toxinidir}/docs/requirements.txt
sphinxcontrib-spelling
pyenchant
commands =
- sphinx-build {posargs:-E} -Q -b html docs dist/docs
commands =
sphinx-build {posargs:-E} -b html docs dist/docs
sphinx-build -b spelling -w /dev/null docs dist/docs
[testenv:link]
description = Check that the links written in documentation are valid.
skip_install = true
deps = -r{toxinidir}/docs/requirements.txt
commands =
- sphinx-build {posargs:-E} -Q -b html docs dist/docs
sphinx-build -b linkcheck -w /dev/null docs dist/docs
[testenv:report]
description = Create coverage report.
deps = coverage
skip_install = true
commands =
commands =
coverage combine --append
coverage report
coverage html
......@@ -150,11 +137,11 @@ deps = coverage
[testenv:codacy]
description = Upload coverage report to codacy.
deps =
deps =
codacy-coverage
coverage
skip_install = true
commands =
commands =
coverage combine --append
coverage report
coverage xml --ignore-errors
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment