setup.py 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. #!/usr/bin/env python
  2. # Copyright 2022 Avaiga Private Limited
  3. #
  4. # Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
  5. # the License. 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 distributed under the License is distributed on
  10. # an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
  11. # specific language governing permissions and limitations under the License.
  12. """The setup script."""
  13. from setuptools import find_packages, find_namespace_packages, setup
  14. with open("README.md") as readme_file:
  15. readme = readme_file.read()
  16. requirements = [
  17. "taipy-gui>=2.0,<2.1",
  18. "taipy-rest>=2.0,<2.1",
  19. ]
  20. test_requirements = ["pytest>=3.8"]
  21. extras_require = {
  22. "ngrok": ["pyngrok>=5"],
  23. "image": ["python-magic;platform_system!='Windows'", "python-magic-bin;platform_system=='Windows'"],
  24. "rdp": ["rdp>=0.8"],
  25. "arrow": ["pyarrow>=7.0"],
  26. "mssql": ["pyodbc>=4"],
  27. }
  28. setup(
  29. author="Avaiga",
  30. author_email="dev@taipy.io",
  31. python_requires=">=3.8",
  32. classifiers=[
  33. "Intended Audience :: Developers",
  34. "License :: OSI Approved :: Apache Software License",
  35. "Natural Language :: English",
  36. "Programming Language :: Python :: 3",
  37. "Programming Language :: Python :: 3.8",
  38. "Programming Language :: Python :: 3.9",
  39. "Programming Language :: Python :: 3.10",
  40. ],
  41. description="A 360° open-source platform from Python pilots to production-ready web apps.",
  42. install_requires=requirements,
  43. license="Apache License 2.0",
  44. long_description=readme,
  45. long_description_content_type="text/markdown",
  46. keywords="taipy",
  47. name="taipy",
  48. package_dir={"": "src"},
  49. packages=find_namespace_packages(where="src") + find_packages(include=["taipy"]),
  50. test_suite="tests",
  51. url="https://github.com/avaiga/taipy",
  52. version="2.0.0",
  53. zip_safe=False,
  54. extras_require=extras_require,
  55. )