mirror of
https://github.com/certbot/certbot.git
synced 2026-08-01 16:19:13 +02:00
Clean up dev/testing extras messup (fixes #2140).
This commit is contained in:
+1
-1
@@ -58,7 +58,7 @@ RUN virtualenv --no-site-packages -p python2 /opt/letsencrypt/venv && \
|
|||||||
-e /opt/letsencrypt/src/letsencrypt-nginx \
|
-e /opt/letsencrypt/src/letsencrypt-nginx \
|
||||||
-e /opt/letsencrypt/src/letshelp-letsencrypt \
|
-e /opt/letsencrypt/src/letshelp-letsencrypt \
|
||||||
-e /opt/letsencrypt/src/letsencrypt-compatibility-test \
|
-e /opt/letsencrypt/src/letsencrypt-compatibility-test \
|
||||||
-e /opt/letsencrypt/src[dev,docs,testing]
|
-e /opt/letsencrypt/src[dev,docs]
|
||||||
|
|
||||||
# install in editable mode (-e) to save space: it's not possible to
|
# install in editable mode (-e) to save space: it's not possible to
|
||||||
# "rm -rf /opt/letsencrypt/src" (it's stays in the underlaying image);
|
# "rm -rf /opt/letsencrypt/src" (it's stays in the underlaying image);
|
||||||
|
|||||||
+7
-6
@@ -36,17 +36,18 @@ if sys.version_info < (2, 7, 9):
|
|||||||
install_requires.append('ndg-httpsclient')
|
install_requires.append('ndg-httpsclient')
|
||||||
install_requires.append('pyasn1')
|
install_requires.append('pyasn1')
|
||||||
|
|
||||||
|
dev_extras = [
|
||||||
|
'nose',
|
||||||
|
'pep8',
|
||||||
|
'tox',
|
||||||
|
]
|
||||||
|
|
||||||
docs_extras = [
|
docs_extras = [
|
||||||
'Sphinx>=1.0', # autodoc_member_order = 'bysource', autodoc_default_flags
|
'Sphinx>=1.0', # autodoc_member_order = 'bysource', autodoc_default_flags
|
||||||
'sphinx_rtd_theme',
|
'sphinx_rtd_theme',
|
||||||
'sphinxcontrib-programoutput',
|
'sphinxcontrib-programoutput',
|
||||||
]
|
]
|
||||||
|
|
||||||
testing_extras = [
|
|
||||||
'nose',
|
|
||||||
'tox',
|
|
||||||
]
|
|
||||||
|
|
||||||
|
|
||||||
setup(
|
setup(
|
||||||
name='acme',
|
name='acme',
|
||||||
@@ -76,8 +77,8 @@ setup(
|
|||||||
include_package_data=True,
|
include_package_data=True,
|
||||||
install_requires=install_requires,
|
install_requires=install_requires,
|
||||||
extras_require={
|
extras_require={
|
||||||
|
'dev': dev_extras,
|
||||||
'docs': docs_extras,
|
'docs': docs_extras,
|
||||||
'testing': testing_extras,
|
|
||||||
},
|
},
|
||||||
entry_points={
|
entry_points={
|
||||||
'console_scripts': [
|
'console_scripts': [
|
||||||
|
|||||||
@@ -4,8 +4,8 @@
|
|||||||
export VENV_ARGS="--python python2"
|
export VENV_ARGS="--python python2"
|
||||||
|
|
||||||
./bootstrap/dev/_venv_common.sh \
|
./bootstrap/dev/_venv_common.sh \
|
||||||
-e acme[testing] \
|
-e acme[dev] \
|
||||||
-e .[dev,docs,testing] \
|
-e .[dev,docs] \
|
||||||
-e letsencrypt-apache \
|
-e letsencrypt-apache \
|
||||||
-e letsencrypt-nginx \
|
-e letsencrypt-nginx \
|
||||||
-e letshelp-letsencrypt \
|
-e letshelp-letsencrypt \
|
||||||
|
|||||||
@@ -5,4 +5,4 @@ export VENV_NAME="${VENV_NAME:-venv3}"
|
|||||||
export VENV_ARGS="--python python3"
|
export VENV_ARGS="--python python3"
|
||||||
|
|
||||||
./bootstrap/dev/_venv_common.sh \
|
./bootstrap/dev/_venv_common.sh \
|
||||||
-e acme[testing] \
|
-e acme[dev] \
|
||||||
|
|||||||
@@ -64,7 +64,12 @@ else:
|
|||||||
dev_extras = [
|
dev_extras = [
|
||||||
# Pin astroid==1.3.5, pylint==1.4.2 as a workaround for #289
|
# Pin astroid==1.3.5, pylint==1.4.2 as a workaround for #289
|
||||||
'astroid==1.3.5',
|
'astroid==1.3.5',
|
||||||
|
'coverage',
|
||||||
|
'nose',
|
||||||
|
'nosexcover',
|
||||||
|
'pep8',
|
||||||
'pylint==1.4.2', # upstream #248
|
'pylint==1.4.2', # upstream #248
|
||||||
|
'tox',
|
||||||
'twine',
|
'twine',
|
||||||
'wheel',
|
'wheel',
|
||||||
]
|
]
|
||||||
@@ -76,14 +81,6 @@ docs_extras = [
|
|||||||
'sphinxcontrib-programoutput',
|
'sphinxcontrib-programoutput',
|
||||||
]
|
]
|
||||||
|
|
||||||
testing_extras = [
|
|
||||||
'coverage',
|
|
||||||
'nose',
|
|
||||||
'nosexcover',
|
|
||||||
'pep8',
|
|
||||||
'tox',
|
|
||||||
]
|
|
||||||
|
|
||||||
setup(
|
setup(
|
||||||
name='letsencrypt',
|
name='letsencrypt',
|
||||||
version=version,
|
version=version,
|
||||||
@@ -119,7 +116,6 @@ setup(
|
|||||||
extras_require={
|
extras_require={
|
||||||
'dev': dev_extras,
|
'dev': dev_extras,
|
||||||
'docs': docs_extras,
|
'docs': docs_extras,
|
||||||
'testing': testing_extras,
|
|
||||||
},
|
},
|
||||||
|
|
||||||
tests_require=install_requires,
|
tests_require=install_requires,
|
||||||
|
|||||||
@@ -15,9 +15,9 @@ envlist = py{26,27,33,34,35},py{26,27}-oldest,cover,lint
|
|||||||
# packages installed separately to ensure that dowstream deps problems
|
# packages installed separately to ensure that dowstream deps problems
|
||||||
# are detected, c.f. #1002
|
# are detected, c.f. #1002
|
||||||
commands =
|
commands =
|
||||||
pip install -e acme[testing]
|
pip install -e acme[dev]
|
||||||
nosetests -v acme
|
nosetests -v acme
|
||||||
pip install -e .[testing]
|
pip install -e .[dev]
|
||||||
nosetests -v letsencrypt
|
nosetests -v letsencrypt
|
||||||
pip install -e letsencrypt-apache
|
pip install -e letsencrypt-apache
|
||||||
nosetests -v letsencrypt_apache
|
nosetests -v letsencrypt_apache
|
||||||
@@ -40,23 +40,23 @@ deps =
|
|||||||
|
|
||||||
[testenv:py33]
|
[testenv:py33]
|
||||||
commands =
|
commands =
|
||||||
pip install -e acme[testing]
|
pip install -e acme[dev]
|
||||||
nosetests -v acme
|
nosetests -v acme
|
||||||
|
|
||||||
[testenv:py34]
|
[testenv:py34]
|
||||||
commands =
|
commands =
|
||||||
pip install -e acme[testing]
|
pip install -e acme[dev]
|
||||||
nosetests -v acme
|
nosetests -v acme
|
||||||
|
|
||||||
[testenv:py35]
|
[testenv:py35]
|
||||||
commands =
|
commands =
|
||||||
pip install -e acme[testing]
|
pip install -e acme[dev]
|
||||||
nosetests -v acme
|
nosetests -v acme
|
||||||
|
|
||||||
[testenv:cover]
|
[testenv:cover]
|
||||||
basepython = python2.7
|
basepython = python2.7
|
||||||
commands =
|
commands =
|
||||||
pip install -e acme -e .[testing] -e letsencrypt-apache -e letsencrypt-nginx -e letshelp-letsencrypt
|
pip install -e acme[dev] -e .[dev] -e letsencrypt-apache -e letsencrypt-nginx -e letshelp-letsencrypt
|
||||||
./tox.cover.sh
|
./tox.cover.sh
|
||||||
|
|
||||||
[testenv:lint]
|
[testenv:lint]
|
||||||
@@ -66,7 +66,7 @@ basepython = python2.7
|
|||||||
# duplicate code checking; if one of the commands fails, others will
|
# duplicate code checking; if one of the commands fails, others will
|
||||||
# continue, but tox return code will reflect previous error
|
# continue, but tox return code will reflect previous error
|
||||||
commands =
|
commands =
|
||||||
pip install -e acme -e .[dev] -e letsencrypt-apache -e letsencrypt-nginx -e letsencrypt-compatibility-test -e letshelp-letsencrypt
|
pip install -e acme[dev] -e .[dev] -e letsencrypt-apache -e letsencrypt-nginx -e letsencrypt-compatibility-test -e letshelp-letsencrypt
|
||||||
./pep8.travis.sh
|
./pep8.travis.sh
|
||||||
pylint --rcfile=.pylintrc letsencrypt
|
pylint --rcfile=.pylintrc letsencrypt
|
||||||
pylint --rcfile=acme/.pylintrc acme/acme
|
pylint --rcfile=acme/.pylintrc acme/acme
|
||||||
|
|||||||
Reference in New Issue
Block a user