setup.py 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. # copyright (c) 2020 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 sys
  16. long_description = "PaddlePaddle Entire Process Development Toolkit"
  17. setuptools.setup(
  18. name="paddlex",
  19. version='1.3.1',
  20. author="paddlex",
  21. author_email="paddlex@baidu.com",
  22. description=long_description,
  23. long_description=long_description,
  24. long_description_content_type="text/plain",
  25. url="https://github.com/PaddlePaddle/PaddleX",
  26. packages=setuptools.find_packages(),
  27. setup_requires=['cython', 'numpy'],
  28. install_requires=[
  29. "pycocotools;platform_system!='Windows'", 'pyyaml', 'colorama', 'tqdm',
  30. 'paddleslim==1.1.1', 'visualdl>=2.0.0', 'paddlehub>=1.8.2',
  31. 'shapely>=1.7.0', 'opencv-python', 'flask_cors', 'sklearn', 'psutil'
  32. ],
  33. classifiers=[
  34. "Programming Language :: Python :: 3",
  35. "License :: OSI Approved :: Apache Software License",
  36. "Operating System :: OS Independent",
  37. ],
  38. license='Apache 2.0',
  39. entry_points={'console_scripts': ['paddlex=paddlex.command:main', ]})