setup.py 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. #
  2. # Copyright 2018-2022 Elyra Authors
  3. #
  4. # Licensed under the Apache License, Version 2.0 (the "License");
  5. # you may not use this file except in compliance with the License.
  6. # You may obtain a copy of the License at
  7. #
  8. # http://www.apache.org/licenses/LICENSE-2.0
  9. #
  10. # Unless required by applicable law or agreed to in writing, software
  11. # distributed under the License is distributed on an "AS IS" BASIS,
  12. # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  13. # See the License for the specific language governing permissions and
  14. # limitations under the License.
  15. #
  16. import os
  17. import sys
  18. from glob import glob
  19. from jupyter_packaging import get_data_files
  20. from setuptools import setup, find_packages
  21. long_desc = "{{description}}"
  22. here = os.path.abspath(os.path.dirname(__file__))
  23. setup_args = dict(
  24. name="{{package-name}}",
  25. version="{{version}}",
  26. url="https://github.com/elyra-ai/elyra",
  27. description="Elyra provides AI Centric extensions to JupyterLab",
  28. long_description=long_desc,
  29. author="Elyra Maintainers",
  30. license="Apache License Version 2.0",
  31. data_files=get_data_files([{{data - files}}]),
  32. packages=find_packages(),
  33. install_requires=[{{install - requires}}],
  34. include_package_data=True,
  35. classifiers=(
  36. "License :: OSI Approved :: Apache Software License",
  37. "Operating System :: OS Independent",
  38. "Topic :: Scientific/Engineering",
  39. "Topic :: Scientific/Engineering :: Artificial Intelligence",
  40. "Topic :: Software Development",
  41. "Topic :: Software Development :: Libraries",
  42. "Topic :: Software Development :: Libraries :: Python Modules",
  43. "Programming Language :: Python :: 3.7",
  44. "Programming Language :: Python :: 3.8",
  45. "Programming Language :: Python :: 3.9",
  46. "Programming Language :: Python :: 3.10",
  47. ),
  48. entry_points={},
  49. )
  50. if __name__ == "__main__":
  51. setup(**setup_args)