setup.py 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  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, setup
  14. with open("README.md") as readme_file:
  15. readme = readme_file.read()
  16. requirements = [
  17. "taipy-gui@git+https://git@github.com/Avaiga/taipy-gui.git@develop",
  18. "taipy-rest@git+https://git@github.com/Avaiga/taipy-rest.git@develop",
  19. ]
  20. extras_require = {
  21. "ngrok": ["pyngrok>=5"],
  22. "image": ["python-magic;platform_system!='Windows'", "python-magic-bin;platform_system=='Windows'"],
  23. "rdp": ["rdp>=0.8"],
  24. "arrow": ["pyarrow>=7.0"],
  25. "mssql": ["pyodbc>=4"],
  26. }
  27. setup(
  28. author="Avaiga",
  29. author_email="dev@taipy.io",
  30. python_requires=">=3.8",
  31. classifiers=[
  32. "Intended Audience :: Developers",
  33. "License :: OSI Approved :: Apache Software License",
  34. "Natural Language :: English",
  35. "Programming Language :: Python :: 3",
  36. "Programming Language :: Python :: 3.8",
  37. "Programming Language :: Python :: 3.9",
  38. "Programming Language :: Python :: 3.10",
  39. ],
  40. description="A 360° open-source platform from Python pilots to production-ready web apps.",
  41. install_requires=requirements,
  42. license="Apache License 2.0",
  43. long_description=readme,
  44. long_description_content_type="text/markdown",
  45. keywords="taipy",
  46. name="taipy",
  47. packages=find_packages(include=['taipy']),
  48. url="https://github.com/avaiga/taipy",
  49. version="1.0.0",
  50. zip_safe=False,
  51. extras_require=extras_require,
  52. )