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
22
22
23
23
conda config --add channels conda-forge || exit 1
24
24
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
26
26
27
27
for f in conda/dist/noarch/domdf_python_tools-* .tar.bz2; do
28
28
[ -e " $f " ] || continue
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ if [ $TRAVIS_PYTHON_VERSION == 3.6 ]; then
21
21
22
22
conda config --add channels conda-forge || exit 1
23
23
24
- conda build conda -- output-folder conda/dist
24
+ conda build conda -c domdfcoding -c conda-forge -- output-folder conda/dist --skip-existing
25
25
26
26
for f in conda/dist/noarch/domdf_python_tools-* .tar.bz2; do
27
27
echo " $f "
Original file line number Diff line number Diff line change @@ -20,6 +20,7 @@ script:
20
20
- tox
21
21
after_success :
22
22
- coveralls
23
+ - chmod +x .ci/travis_build_conda.sh
23
24
- .ci/travis_build_conda.sh || travis_terminate 1;
24
25
25
26
deploy :
@@ -33,4 +34,5 @@ deploy:
33
34
distributions : " sdist bdist_wheel"
34
35
skip_existing : true
35
36
after_deploy :
37
+ - chmod +x .ci/travis_deploy_conda.sh
36
38
- .ci/travis_deploy_conda.sh || travis_terminate 1;
Original file line number Diff line number Diff line change 49
49
conda_description = """Helpful functions for Python
50
50
51
51
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"""
53
53
install_requires = (repo_root / "requirements.txt" ).read_text ().split ('\n ' )
54
54
extras_require = {'dates' : ['pytz>=2019.1' ], 'all' : ['pytz>=2019.1' ]}
55
55
Original file line number Diff line number Diff line change @@ -54,12 +54,7 @@ username: "domdfcoding"
54
54
license : ' LGPLv3+'
55
55
short_desc : ' Helpful functions for Python'
56
56
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"
63
58
64
59
classifiers :
65
60
- ' Development Status :: 4 - Beta'
Original file line number Diff line number Diff line change 27
27
all_requirements += requires
28
28
29
29
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 )
31
31
32
32
# txt_readme = publish_file(source=StringIO(long_description), writer=rst2txt.Writer())
33
33
# description_block = "\n".join([line.replace('"', '\\"') for line in txt_readme.split("\n")])
82
82
extra:
83
83
maintainers:
84
84
- { author }
85
- - github.com/{{ username }}
85
+ - github.com/domdfcoding
86
86
87
87
""" )
88
88
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"
20
20
description = pytest
21
21
# Install test requirements
22
22
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
28
23
29
24
30
25
You can’t perform that action at this time.
0 commit comments