setup.py 2.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. # -*- coding: utf-8 -*-
  2. from setuptools import setup
  3. packages = [
  4. "flow_client",
  5. "flow_client.flow_cli",
  6. "flow_client.flow_cli.commands",
  7. "flow_client.flow_cli.utils",
  8. "flow_sdk",
  9. "flow_sdk.client",
  10. "flow_sdk.client.api",
  11. "pipeline",
  12. "pipeline.backend",
  13. "pipeline.component",
  14. "pipeline.component.nn",
  15. "pipeline.component.nn.backend",
  16. "pipeline.component.nn.backend.torch",
  17. "pipeline.component.nn.models",
  18. "pipeline.demo",
  19. "pipeline.interface",
  20. "pipeline.param",
  21. "pipeline.parser",
  22. "pipeline.runtime",
  23. "pipeline.test",
  24. "pipeline.utils",
  25. "pipeline.utils.invoker",
  26. ]
  27. package_data = {"": ["*"]}
  28. install_requires = [
  29. "click>=7.1.2,<8.0.0",
  30. "loguru>=0.6.0",
  31. "poetry>=0.12",
  32. "pandas>=1.1.5",
  33. "requests>=2.24.0,<3.0.0",
  34. "requests_toolbelt>=0.9.1,<0.10.0",
  35. "ruamel.yaml>=0.16.10,<0.17.0",
  36. "setuptools>=65.5.1",
  37. ]
  38. entry_points = {
  39. "console_scripts": [
  40. "flow = flow_client.flow:flow_cli",
  41. "pipeline = pipeline.pipeline_cli:cli",
  42. ]
  43. }
  44. setup_kwargs = {
  45. "name": "fate-client",
  46. "version": "1.10.0",
  47. "description": "Clients for FATE, including flow_client and pipeline",
  48. "long_description": "FATE Client\n===========\n\nTools for interacting with FATE.\n\nquick start\n-----------\n\n1. (optional) create virtual env\n\n .. code-block:: bash\n\n python -m venv venv\n source venv/bin/activate\n\n\n2. install FATE Client\n\n .. code-block:: bash\n\n pip install fate-client\n\n\nPipeline\n========\n\nA high-level python API that allows user to design, start,\nand query FATE jobs in a sequential manner. For more information,\nplease refer to this `guide <./pipeline/README.rst>`__\n\nInitial Configuration\n---------------------\n\n1. Configure server information\n\n .. code-block:: bash\n\n # configure values in pipeline/config.yaml\n # use real ip address to configure pipeline\n pipeline init --ip 127.0.0.1 --port 9380 --log-directory ./logs\n\n\nFATE Flow Command Line Interface (CLI) v2\n=========================================\n\nA command line interface providing series of commands for user to design, start,\nand query FATE jobs. For more information, please refer to this `guide <./flow_client/README.rst>`__\n\nInitial Configuration\n---------------------\n\n1. Configure server information\n\n .. code-block:: bash\n\n # configure values in conf/service_conf.yaml\n flow init -c /data/projects/fate/conf/service_conf.yaml\n # use real ip address to initialize cli\n flow init --ip 127.0.0.1 --port 9380\n\n",
  49. "author": "FederatedAI",
  50. "author_email": "contact@FedAI.org",
  51. "maintainer": None,
  52. "maintainer_email": None,
  53. "url": "https://fate.fedai.org/",
  54. "packages": packages,
  55. "package_data": package_data,
  56. "install_requires": install_requires,
  57. "entry_points": entry_points,
  58. "python_requires": ">=3.6,<4.0",
  59. }
  60. setup(**setup_kwargs)