setup.py 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. #!/usr/bin/env python
  2. #
  3. # Licensed to the Apache Software Foundation (ASF) under one or more
  4. # contributor license agreements. See the NOTICE file distributed with
  5. # this work for additional information regarding copyright ownership.
  6. # The ASF licenses this file to You under the Apache License, Version 2.0
  7. # (the "License"); you may not use this file except in compliance with
  8. # the License. You may obtain a copy of the License at
  9. #
  10. # http://www.apache.org/licenses/LICENSE-2.0
  11. #
  12. # Unless required by applicable law or agreed to in writing, software
  13. # distributed under the License is distributed on an "AS IS" BASIS,
  14. # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  15. # See the License for the specific language governing permissions and
  16. # limitations under the License.
  17. from setuptools import setup, find_packages
  18. # External dependencies
  19. requirements = ['requests>=2.24']
  20. long_description = ''
  21. with open("README.md", "r") as fh:
  22. long_description = fh.read()
  23. setup(
  24. name="apache-ranger",
  25. version="0.0.3",
  26. author="Apache Ranger",
  27. author_email="dev@ranger.apache.org",
  28. description="Apache Ranger Python client",
  29. long_description=long_description,
  30. long_description_content_type="text/markdown",
  31. url="https://github.com/apache/ranger/tree/master/intg/src/main/python",
  32. license='Apache LICENSE 2.0',
  33. classifiers=[
  34. "Programming Language :: Python :: 2.7",
  35. "License :: OSI Approved :: Apache Software License",
  36. "Operating System :: OS Independent",
  37. ],
  38. packages=find_packages(),
  39. install_requires=requirements,
  40. include_package_data=True,
  41. zip_safe=False,
  42. keywords='ranger client, apache ranger',
  43. python_requires='>=2.7',
  44. )