You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

setup.py 1.8 kB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. try:
  2. import torch
  3. except ModuleNotFoundError:
  4. raise ModuleNotFoundError(
  5. "PyTorch not installed. "
  6. "Please appropriately install PyTorch, "
  7. "see https://pytorch.org/ for installation."
  8. )
  9. from setuptools import setup, find_packages
  10. with open("README.md", 'r') as fh:
  11. long_description = fh.read()
  12. ''' https://packaging.python.org/guides/distributing-packages-using-setuptools/ '''
  13. ''' https://setuptools.readthedocs.io/en/latest/ '''
  14. setup(
  15. name='autogl',
  16. version='0.2.0-pre',
  17. author='THUMNLab/aglteam',
  18. maintainer='THUMNLab/aglteam',
  19. author_email='autogl@tsinghua.edu.cn',
  20. description='AutoML tools for graph-structure dataset',
  21. long_description=long_description,
  22. long_description_content_type='text/markdown',
  23. include_package_data=True,
  24. packages=find_packages(),
  25. # https://packaging.python.org/guides/distributing-packages-using-setuptools/#python-requires
  26. python_requires='~=3.6',
  27. # https://pypi.org/classifiers/
  28. classifiers=[
  29. "Development Status :: 4 - Beta",
  30. "License :: OSI Approved :: Apache Software License",
  31. "Programming Language :: Python :: 3 :: Only",
  32. "Programming Language :: Python :: 3.6"
  33. ],
  34. # https://setuptools.readthedocs.io/en/latest/userguide/dependency_management.html
  35. # note that setup_requires and tests_require are deprecated
  36. install_requires=[
  37. 'bayesian-optimization',
  38. 'chocolate',
  39. 'dill',
  40. 'hyperopt',
  41. 'lightgbm',
  42. 'networkx',
  43. 'numpy',
  44. 'netlsd',
  45. 'ogb',
  46. 'psutil',
  47. 'pyyaml',
  48. 'requests',
  49. 'scikit-learn',
  50. 'scipy',
  51. 'tabulate',
  52. 'torch',
  53. 'tqdm',
  54. 'nni'
  55. ]
  56. )