diff --git a/autoPyTorch/automl_common b/autoPyTorch/automl_common index ffad90958..3e3f14f0a 160000 --- a/autoPyTorch/automl_common +++ b/autoPyTorch/automl_common @@ -1 +1 @@ -Subproject commit ffad90958a7b4a0691af8a07919493b666e05e6d +Subproject commit 3e3f14f0a9b868404cbc1ca3683a05bcc5b0ac3f diff --git a/setup.py b/setup.py index 55e5aa927..a38c9c811 100755 --- a/setup.py +++ b/setup.py @@ -1,9 +1,12 @@ import setuptools import sys + + if sys.version_info < (3, 7): raise ValueError( - 'Unsupported Python version %d.%d.%d found. Auto-PyTorch requires Python ' - '3.7 or higher.' % (sys.version_info.major, sys.version_info.minor, sys.version_info.micro) + 'Auto-Pytorch requires Python 3.7 or higher, but found version {}.{}.{}'.format( + sys.version_info.major, sys.version_info.minor, sys.version_info.micro + ) ) with open("README.md", "r") as f: @@ -14,6 +17,7 @@ for line in f: requirements.append(line.strip()) + # noinspection PyInterpreter setuptools.setup( name="autoPyTorch", @@ -71,5 +75,6 @@ }, test_suite="pytest", data_files=[('configs', ['autoPyTorch/configs/default_pipeline_options.json']), - ('portfolio', ['autoPyTorch/configs/greedy_portfolio.json'])] + ('portfolio', ['autoPyTorch/configs/greedy_portfolio.json'])], + dependency_links=['https://github.com/automl/automl_common.git/tarball/autoPyTorch#egg=package-0.0.1'] )