File tree Expand file tree Collapse file tree 8 files changed +13
-20
lines changed Expand file tree Collapse file tree 8 files changed +13
-20
lines changed Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ if [ $TRAVIS_PYTHON_VERSION == 3.6 ]; then
2222
2323 conda config --add channels conda-forge || exit 1
2424
25- conda build conda --output-folder conda/dist --skip-existing
25+ conda build conda -c domdfcoding -c conda-forge - -output-folder conda/dist --skip-existing
2626
2727 for f in conda/dist/noarch/domdf_python_tools-* .tar.bz2; do
2828 [ -e " $f " ] || continue
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ if [ $TRAVIS_PYTHON_VERSION == 3.6 ]; then
2121
2222 conda config --add channels conda-forge || exit 1
2323
24- conda build conda -- output-folder conda/dist
24+ conda build conda -c domdfcoding -c conda-forge -- output-folder conda/dist --skip-existing
2525
2626 for f in conda/dist/noarch/domdf_python_tools-* .tar.bz2; do
2727 echo " $f "
Original file line number Diff line number Diff line change @@ -20,6 +20,7 @@ script:
2020 - tox
2121after_success :
2222 - coveralls
23+ - chmod +x .ci/travis_build_conda.sh
2324 - .ci/travis_build_conda.sh || travis_terminate 1;
2425
2526deploy :
@@ -33,4 +34,5 @@ deploy:
3334 distributions : " sdist bdist_wheel"
3435 skip_existing : true
3536after_deploy :
37+ - chmod +x .ci/travis_deploy_conda.sh
3638 - .ci/travis_deploy_conda.sh || travis_terminate 1;
Original file line number Diff line number Diff line change 4949conda_description = """Helpful functions for Python
5050
5151
52- Before installing please ensure you have added the " conda-forge" channel. """
52+ Before installing please ensure you have added the following channels: domdfcoding, conda-forge"""
5353install_requires = (repo_root / "requirements.txt" ).read_text ().split ('\n ' )
5454extras_require = {'dates' : ['pytz>=2019.1' ], 'all' : ['pytz>=2019.1' ]}
5555
Original file line number Diff line number Diff line change @@ -54,12 +54,7 @@ username: "domdfcoding"
5454license : ' LGPLv3+'
5555short_desc : ' Helpful functions for Python'
5656
57- conda_description : " Helpful functions for Python
58-
59-
60-
61- Before installing please ensure you have added the \" conda-forge\" channel.
62- "
57+ conda_description : " Helpful functions for Python"
6358
6459classifiers :
6560 - ' Development Status :: 4 - Beta'
Original file line number Diff line number Diff line change 2727 all_requirements += requires
2828
2929all_requirements = set (x .replace (" " , '' ) for x in set (all_requirements ))
30- requirements_block = "\n " .join (f" - { req } " for req in all_requirements )
30+ requirements_block = "\n " .join (f" - { req } " for req in all_requirements if req )
3131
3232# txt_readme = publish_file(source=StringIO(long_description), writer=rst2txt.Writer())
3333# description_block = "\n".join([line.replace('"', '\\"') for line in txt_readme.split("\n")])
8282extra:
8383 maintainers:
8484 - { author }
85- - github.com/{{ username }}
85+ - github.com/domdfcoding
8686
8787""" )
8888
Original file line number Diff line number Diff line change 1- pytest >= 5.1.1
2- pytest-cov >= 2.8.1
3- pytz >= 2019.1
4- coverage >= 5.1
1+ coverage >= 5.1
2+ pytest >= 5.1.1
3+ pytest-cov >= 2.8.1
4+ pytest-randomly
5+ pytz >= 2019.1
Original file line number Diff line number Diff line change @@ -20,11 +20,6 @@ build-backend = "setuptools"
2020description = pytest
2121# Install test requirements
2222deps = -r{toxinidir}/tests/requirements.txt
23- pytest >= 5.1.1
24- pytest-cov >= 2.8.1
25- pytz >= 2019.1
26- coverage>=5.1
27- pytest-randomly
2823
2924
3025
You can’t perform that action at this time.
0 commit comments