3
0

setup.py 836 B

1234567891011121314151617181920212223242526272829
  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. PROJECT_ROOT = os.path.abspath(os.path.dirname(__file__))
  10. PYTHON_64 = platform.architecture()[0] == '64bit'
  11. if __name__ == '__main__':
  12. if not PYTHON_64:
  13. raise RuntimeError("32-bit Python is not a supported platform.")
  14. with open(os.path.join(PROJECT_ROOT, 'README.txt')) as f:
  15. long_description = f.read()
  16. setup(
  17. name="atom_rpi_tools",
  18. version="1.0.0",
  19. description='Python interface to Atom RPI tools',
  20. long_description=long_description,
  21. packages=find_packages(exclude=['tests'])
  22. )