setup.py 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  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. 'mock~=3.0.5',
  32. 'requests>=2.10.0',
  33. 'responses>=0.5.1',
  34. 'requests-kerberos>=0.11.0',
  35. ]
  36. setup(
  37. name='livy-python-api',
  38. version="0.8.0-incubating-SNAPSHOT",
  39. packages=["livy", "livy-tests"],
  40. package_dir={
  41. "": "src/main/python",
  42. "livy-tests": "src/test/python/livy-tests",
  43. },
  44. url='https://github.com/apache/incubator-livy',
  45. author_email='user@livy.incubator.apache.org',
  46. license='Apache License, Version 2.0',
  47. description=DESCRIPTION,
  48. platforms=['any'],
  49. keywords='livy pyspark development',
  50. classifiers=CLASSIFIERS,
  51. install_requires=requirements,
  52. setup_requires=['pytest-runner', 'flake8'],
  53. tests_require=['pytest']
  54. )