setup.py 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. """
  2. Copyright (c) Contributors to the Open 3D Engine Project.
  3. For complete copyright and license terms please see the LICENSE at the root of this distribution.
  4. SPDX-License-Identifier: Apache-2.0 OR MIT
  5. """
  6. import os
  7. import platform
  8. from setuptools import setup, find_packages
  9. from setuptools.command.develop import develop
  10. from setuptools.command.build_py import build_py
  11. PACKAGE_ROOT = os.path.abspath(os.path.dirname(__file__))
  12. PYTHON_64 = platform.architecture()[0] == '64bit'
  13. if __name__ == '__main__':
  14. if not PYTHON_64:
  15. raise RuntimeError("32-bit Python is not a supported platform.")
  16. with open(os.path.join(PACKAGE_ROOT, 'README.txt')) as f:
  17. long_description = f.read()
  18. setup(
  19. name="editor_python_test_tools",
  20. version="1.0.0",
  21. description='O3DE editor Python bindings test tools',
  22. long_description=long_description,
  23. packages=find_packages(where='Tools', exclude=['tests']),
  24. install_requires=[
  25. "ly_test_tools"
  26. ],
  27. tests_require=[
  28. ],
  29. entry_points={
  30. },
  31. )