Skip to content

Commit 38ebcd9

Browse files
committed
Updated files with git_helper
1 parent d9c80b3 commit 38ebcd9

File tree

8 files changed

+13
-20
lines changed

8 files changed

+13
-20
lines changed

.ci/travis_build_conda.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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

.ci/travis_deploy_conda.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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"

.travis.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ script:
2020
- tox
2121
after_success:
2222
- coveralls
23+
- chmod +x .ci/travis_build_conda.sh
2324
- .ci/travis_build_conda.sh || travis_terminate 1;
2425

2526
deploy:
@@ -33,4 +34,5 @@ deploy:
3334
distributions: "sdist bdist_wheel"
3435
skip_existing: true
3536
after_deploy:
37+
- chmod +x .ci/travis_deploy_conda.sh
3638
- .ci/travis_deploy_conda.sh || travis_terminate 1;

__pkginfo__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
conda_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"""
5353
install_requires = (repo_root / "requirements.txt").read_text().split('\n')
5454
extras_require = {'dates': ['pytz>=2019.1'], 'all': ['pytz>=2019.1']}
5555

git_helper.yml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -54,12 +54,7 @@ username: "domdfcoding"
5454
license: 'LGPLv3+'
5555
short_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

6459
classifiers:
6560
- 'Development Status :: 4 - Beta'

make_conda_recipe.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
all_requirements += requires
2828

2929
all_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")])
@@ -82,7 +82,7 @@
8282
extra:
8383
maintainers:
8484
- {author}
85-
- github.com/{{ username }}
85+
- github.com/domdfcoding
8686
8787
""")
8888

tests/requirements.txt

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
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

tox.ini

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,6 @@ build-backend = "setuptools"
2020
description = pytest
2121
# Install test requirements
2222
deps = -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

0 commit comments

Comments
 (0)