Skip to content

Commit f125155

Browse files
committed
remove twine warnings
1 parent 3d2162f commit f125155

File tree

2 files changed

+14
-1
lines changed

2 files changed

+14
-1
lines changed

ci_scripts/install.sh

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,13 @@ if [[ "$TEST_DIST" == "true" ]]; then
1515
dist=`find dist -type f -printf '%T@ %p\n' | sort -n | tail -1 | cut -f2- -d" "`
1616
echo "Installing $dist"
1717
pip install "$dist"
18-
twine check "$dist"
18+
twine_output=`twine check "$dist"`
19+
if [[ "$twine_output" != "Checking $dist: PASSED" ]]; then
20+
echo $twine_output
21+
exit 1
22+
else
23+
echo "Check with Twine: OK: $twine_output"
24+
fi
1925
else
2026
python setup.py check -m -s
2127
python setup.py install

setup.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,11 +52,18 @@ def finalize_options(self):
5252
with open("autosklearn/__version__.py") as fh:
5353
version = fh.readlines()[-1].split()[-1].strip("\"'")
5454

55+
56+
with open('README.md') as fh:
57+
long_description = fh.read()
58+
59+
5560
setup(
5661
name='auto-sklearn',
5762
author='Matthias Feurer',
5863
author_email='[email protected]',
5964
description='Automated machine learning.',
65+
long_description=long_description,
66+
long_description_content_type='text/markdown',
6067
version=version,
6168
cmdclass={'build_ext': BuildExt},
6269
ext_modules=extensions,

0 commit comments

Comments
 (0)