setup.py 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  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. DESCRIPTION = "Awesome Remote Sensing Toolkit based on PaddlePaddle"
  16. with open("README.md", "r") as fh:
  17. LONG_DESCRIPTION = fh.read()
  18. with open("requirements.txt") as fin:
  19. REQUIRED_PACKAGES = fin.read()
  20. setuptools.setup(
  21. name="paddlers",
  22. version='0.0.1',
  23. author="paddlers",
  24. author_email="paddlers@baidu.com",
  25. description=DESCRIPTION,
  26. long_description=LONG_DESCRIPTION,
  27. long_description_content_type="text/plain",
  28. url="https://github.com/PaddleCV-SIG/PaddleRS",
  29. packages=setuptools.find_packages(),
  30. setup_requires=['cython', 'numpy'],
  31. install_requires=REQUIRED_PACKAGES,
  32. # [
  33. # "pycocotools", 'pyyaml', 'colorama', 'tqdm', 'paddleslim==2.2.1',
  34. # 'visualdl>=2.2.2', 'shapely>=1.7.0', 'opencv-python', 'scipy', 'lap',
  35. # 'motmetrics', 'scikit-learn==0.23.2', 'chardet', 'flask_cors',
  36. # 'openpyxl', 'gdal'
  37. # ],
  38. classifiers=[
  39. "Programming Language :: Python :: 3",
  40. "License :: OSI Approved :: Apache Software License",
  41. "Operating System :: OS Independent",
  42. ],
  43. license='Apache 2.0', )