setup.py 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. # Copyright (c) 2022 PaddlePaddle Authors. All Rights Reserved.
  2. #
  3. # Licensed under the Apache License, Version 2.0 (the "License");
  4. # you may not use this file except in compliance with the License.
  5. # You may obtain a copy of the License at
  6. #
  7. # http://www.apache.org/licenses/LICENSE-2.0
  8. #
  9. # Unless required by applicable law or agreed to in writing, software
  10. # distributed under the License is distributed on an "AS IS" BASIS,
  11. # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  12. # See the License for the specific language governing permissions and
  13. # limitations under the License.
  14. import setuptools
  15. import paddlers
  16. DESCRIPTION = "Awesome Remote Sensing Toolkit based on PaddlePaddle"
  17. with open("README.md", "r", encoding='utf8') as fh:
  18. LONG_DESCRIPTION = fh.read()
  19. with open("requirements.txt") as fin:
  20. REQUIRED_PACKAGES = fin.read()
  21. setuptools.setup(
  22. name="paddlers",
  23. version=paddlers.__version__.replace('-', ''),
  24. author='PaddleRS Authors',
  25. author_email="",
  26. description=DESCRIPTION,
  27. long_description=LONG_DESCRIPTION,
  28. long_description_content_type="text/plain",
  29. url="https://github.com/PaddlePaddle/PaddleRS",
  30. packages=setuptools.find_packages(include=['paddlers', 'paddlers.*']),
  31. python_requires='>=3.7',
  32. setup_requires=['cython', 'numpy'],
  33. install_requires=REQUIRED_PACKAGES,
  34. classifiers=[
  35. "Programming Language :: Python :: 3.7",
  36. "Programming Language :: Python :: 3.8",
  37. "Programming Language :: Python :: 3.9",
  38. "License :: OSI Approved :: Apache Software License",
  39. "Operating System :: OS Independent",
  40. ],
  41. license='Apache 2.0', )