Skip to content

Commit

Permalink
remove twine warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
mfeurer committed Jan 3, 2020
1 parent 3d2162f commit f125155
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
8 changes: 7 additions & 1 deletion ci_scripts/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,13 @@ if [[ "$TEST_DIST" == "true" ]]; then
dist=`find dist -type f -printf '%T@ %p\n' | sort -n | tail -1 | cut -f2- -d" "`
echo "Installing $dist"
pip install "$dist"
twine check "$dist"
twine_output=`twine check "$dist"`
if [[ "$twine_output" != "Checking $dist: PASSED" ]]; then
echo $twine_output
exit 1
else
echo "Check with Twine: OK: $twine_output"
fi
else
python setup.py check -m -s
python setup.py install
Expand Down
7 changes: 7 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,11 +52,18 @@ def finalize_options(self):
with open("autosklearn/__version__.py") as fh:
version = fh.readlines()[-1].split()[-1].strip("\"'")


with open('README.md') as fh:
long_description = fh.read()


setup(
name='auto-sklearn',
author='Matthias Feurer',
author_email='[email protected]',
description='Automated machine learning.',
long_description=long_description,
long_description_content_type='text/markdown',
version=version,
cmdclass={'build_ext': BuildExt},
ext_modules=extensions,
Expand Down

0 comments on commit f125155

Please sign in to comment.