setup.py 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. #
  2. # Licensed to the Apache Software Foundation (ASF) under one or more
  3. # contributor license agreements. See the NOTICE file distributed with
  4. # this work for additional information regarding copyright ownership.
  5. # The ASF licenses this file to You under the Apache License, Version 2.0
  6. # (the "License"); you may not use this file except in compliance with
  7. # the License. You may obtain a copy of the License at
  8. #
  9. # http://www.apache.org/licenses/LICENSE-2.0
  10. #
  11. # Unless required by applicable law or agreed to in writing, software
  12. # distributed under the License is distributed on an "AS IS" BASIS,
  13. # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  14. # See the License for the specific language governing permissions and
  15. # limitations under the License.
  16. #
  17. from setuptools import setup
  18. DESCRIPTION = "A simple Python API for Livy powered by requests"
  19. CLASSIFIERS = [
  20. 'Development Status :: 1 - Planning',
  21. 'Intended Audience :: Developers',
  22. 'Operating System :: OS Independent',
  23. 'Programming Language :: Python :: 2.7',
  24. 'Topic :: Software Development :: Libraries :: Python Modules',
  25. ]
  26. requirements = [
  27. 'cloudpickle>=0.2.1',
  28. 'configparser>=3.5.0',
  29. 'future>=0.15.2',
  30. 'futures>=3.0.5',
  31. 'requests>=2.10.0',
  32. 'responses>=0.5.1',
  33. 'requests-kerberos>=0.11.0',
  34. ]
  35. setup(
  36. name='livy-python-api',
  37. version="0.7.0-incubating-SNAPSHOT",
  38. packages=["livy", "livy-tests"],
  39. package_dir={
  40. "": "src/main/python",
  41. "livy-tests": "src/test/python/livy-tests",
  42. },
  43. url='https://github.com/apache/incubator-livy',
  44. author_email='user@livy.incubator.apache.org',
  45. license='Apache License, Version 2.0',
  46. description=DESCRIPTION,
  47. platforms=['any'],
  48. keywords='livy pyspark development',
  49. classifiers=CLASSIFIERS,
  50. install_requires=requirements,
  51. setup_requires=['pytest-runner', 'flake8'],
  52. tests_require=['pytest']
  53. )