setup.py 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. # copyright (c) 2020 PaddlePaddle Authors. All Rights Reserve.
  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 = "PaddleX. A end-to-end deeplearning model development toolkit base on PaddlePaddle\n\n"
  17. setuptools.setup(
  18. name="paddlex",
  19. version='1.0.6',
  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.0.1', 'visualdl>=2.0.0b', 'paddlehub>=1.6.2'
  31. ],
  32. classifiers=[
  33. "Programming Language :: Python :: 3",
  34. "License :: OSI Approved :: Apache Software License",
  35. "Operating System :: OS Independent",
  36. ],
  37. license='Apache 2.0',
  38. entry_points={'console_scripts': ['paddlex=paddlex.command:main', ]})