try: import torch except ModuleNotFoundError: raise ModuleNotFoundError( "PyTorch not installed. " "Please appropriately install PyTorch, " "see https://pytorch.org/ for installation." ) from setuptools import setup, find_packages with open("README.md", 'r') as fh: long_description = fh.read() ''' https://packaging.python.org/guides/distributing-packages-using-setuptools/ ''' ''' https://setuptools.readthedocs.io/en/latest/ ''' setup( name='autogl', version='0.3.1', author='THUMNLab/aglteam', maintainer='THUMNLab/aglteam', author_email='autogl@tsinghua.edu.cn', description='AutoML tools for graph-structure dataset', long_description=long_description, long_description_content_type='text/markdown', include_package_data=True, packages=find_packages(), # https://packaging.python.org/guides/distributing-packages-using-setuptools/#python-requires python_requires='~=3.6', # https://pypi.org/classifiers/ classifiers=[ "Development Status :: 4 - Beta", "License :: OSI Approved :: Apache Software License", "Programming Language :: Python :: 3 :: Only", "Programming Language :: Python :: 3.6" ], # https://setuptools.readthedocs.io/en/latest/userguide/dependency_management.html # note that setup_requires and tests_require are deprecated install_requires=[ 'bayesian-optimization', 'chocolate', 'dill', 'deeprobust', 'hyperopt', 'lightgbm', 'networkx', 'numpy', 'numba', 'netlsd', 'ogb', 'psutil', 'pyyaml', 'requests', 'scikit-learn', 'scipy', 'tabulate', 'torch', 'tqdm', 'nni==2.8' ] )