setup.py 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. import lucent
  2. from setuptools import setup, find_packages
  3. version = lucent.__version__
  4. with open("README.md", "r") as fh:
  5. long_description = fh.read()
  6. setup(
  7. name="torch-lucent",
  8. packages=find_packages(exclude=[]),
  9. version=version,
  10. description=(
  11. "Lucid for PyTorch. "
  12. "Collection of infrastructure and tools for research in "
  13. "neural network interpretability."
  14. ),
  15. long_description=long_description,
  16. long_description_content_type="text/markdown",
  17. author="The Lucent Authors",
  18. author_email="limsweekiat@gmail.com",
  19. url="https://github.com/greentfrapp/lucent",
  20. license="Apache License 2.0",
  21. keywords=[
  22. "pytorch",
  23. "tensor",
  24. "machine learning",
  25. "neural networks",
  26. "convolutional neural networks",
  27. "feature visualization",
  28. "optimization",
  29. ],
  30. install_requires=[
  31. "torch>=1.5.0",
  32. "torchvision",
  33. "kornia==0.4.0",
  34. "tqdm",
  35. "numpy",
  36. "ipython",
  37. "pillow",
  38. "future",
  39. "decorator",
  40. "pytest",
  41. "pytest-mock",
  42. "coverage",
  43. "coveralls",
  44. "scikit-learn"
  45. ],
  46. classifiers=[
  47. "Development Status :: 2 - Pre-Alpha",
  48. "Intended Audience :: Science/Research",
  49. "Intended Audience :: Education",
  50. "License :: OSI Approved :: Apache Software License",
  51. "Natural Language :: English",
  52. "Programming Language :: Python",
  53. "Programming Language :: Python :: 3",
  54. "Programming Language :: Python :: 3.6",
  55. "Topic :: Scientific/Engineering",
  56. "Topic :: Scientific/Engineering :: Artificial Intelligence",
  57. "Topic :: Scientific/Engineering :: Mathematics",
  58. "Topic :: Scientific/Engineering :: Visualization",
  59. "Topic :: Software Development :: Libraries :: Python Modules",
  60. ],
  61. )