Shuvit game master repo. http://shuvit.org
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

setup.py 2.1KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. # Copyright (c) 2010-2017 Benjamin Peterson
  2. #
  3. # Permission is hereby granted, free of charge, to any person obtaining a copy
  4. # of this software and associated documentation files (the "Software"), to deal
  5. # in the Software without restriction, including without limitation the rights
  6. # to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
  7. # copies of the Software, and to permit persons to whom the Software is
  8. # furnished to do so, subject to the following conditions:
  9. #
  10. # The above copyright notice and this permission notice shall be included in all
  11. # copies or substantial portions of the Software.
  12. #
  13. # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
  14. # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
  15. # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
  16. # AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
  17. # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
  18. # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
  19. # SOFTWARE.
  20. from __future__ import with_statement
  21. # Six is a dependency of setuptools, so using setuptools creates a
  22. # circular dependency when building a Python stack from source. We
  23. # therefore allow falling back to distutils to install six.
  24. try:
  25. from setuptools import setup
  26. except ImportError:
  27. from distutils.core import setup
  28. import six
  29. six_classifiers = [
  30. "Programming Language :: Python :: 2",
  31. "Programming Language :: Python :: 3",
  32. "Intended Audience :: Developers",
  33. "License :: OSI Approved :: MIT License",
  34. "Topic :: Software Development :: Libraries",
  35. "Topic :: Utilities",
  36. ]
  37. with open("README.rst", "r") as fp:
  38. six_long_description = fp.read()
  39. setup(name="six",
  40. version=six.__version__,
  41. author="Benjamin Peterson",
  42. author_email="benjamin@python.org",
  43. url="http://pypi.python.org/pypi/six/",
  44. tests_require=["pytest"],
  45. py_modules=["six"],
  46. description="Python 2 and 3 compatibility utilities",
  47. long_description=six_long_description,
  48. license="MIT",
  49. classifiers=six_classifiers
  50. )