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

4 years ago
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  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.3.1',
  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. 'deeprobust',
  41. 'hyperopt',
  42. 'lightgbm',
  43. 'networkx',
  44. 'numpy',
  45. 'numba',
  46. 'netlsd',
  47. 'ogb',
  48. 'psutil',
  49. 'pyyaml',
  50. 'requests',
  51. 'scikit-learn',
  52. 'scipy',
  53. 'tabulate',
  54. 'torch',
  55. 'tqdm',
  56. 'nni==2.8'
  57. ]
  58. )