Development of an internal social media platform with personalised dashboards for students
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.

__pkginfo__.py 2.5KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. # Copyright (c) 2006-2014 LOGILAB S.A. (Paris, FRANCE) <contact@logilab.fr>
  2. # Copyright (c) 2014-2016 Claudiu Popa <pcmanticore@gmail.com>
  3. # Copyright (c) 2014 Google, Inc.
  4. # Licensed under the LGPL: https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html
  5. # For details: https://github.com/PyCQA/astroid/blob/master/COPYING.LESSER
  6. """astroid packaging information"""
  7. from sys import version_info as py_version
  8. from pkg_resources import parse_version
  9. from setuptools import __version__ as setuptools_version
  10. distname = 'astroid'
  11. modname = 'astroid'
  12. version = '1.6.5'
  13. numversion = tuple(map(int, version.split('.')))
  14. extras_require = {}
  15. install_requires = ['lazy_object_proxy', 'six', 'wrapt']
  16. def has_environment_marker_range_operators_support():
  17. """Code extracted from 'pytest/setup.py'
  18. https://github.com/pytest-dev/pytest/blob/7538680c/setup.py#L31
  19. The first known release to support environment marker with range operators
  20. it is 17.1, see: https://setuptools.readthedocs.io/en/latest/history.html#id113
  21. """
  22. return parse_version(setuptools_version) >= parse_version('17.1')
  23. if has_environment_marker_range_operators_support():
  24. extras_require[':python_version<"3.4"'] = ['enum34>=1.1.3',
  25. 'singledispatch',
  26. 'backports.functools_lru_cache']
  27. else:
  28. if py_version < (3, 4):
  29. install_requires.extend(['enum34',
  30. 'singledispatch',
  31. 'backports.functools_lru_cache'])
  32. # pylint: disable=redefined-builtin; why license is a builtin anyway?
  33. license = 'LGPL'
  34. author = 'Python Code Quality Authority'
  35. author_email = 'code-quality@python.org'
  36. mailinglist = "mailto://%s" % author_email
  37. web = 'https://github.com/PyCQA/astroid'
  38. description = "A abstract syntax tree for Python with inference support."
  39. classifiers = ["Topic :: Software Development :: Libraries :: Python Modules",
  40. "Topic :: Software Development :: Quality Assurance",
  41. "Programming Language :: Python",
  42. "Programming Language :: Python :: 2",
  43. "Programming Language :: Python :: 2.7",
  44. "Programming Language :: Python :: 3",
  45. "Programming Language :: Python :: 3.4",
  46. "Programming Language :: Python :: 3.5",
  47. "Programming Language :: Python :: 3.6",
  48. "Programming Language :: Python :: Implementation :: CPython",
  49. "Programming Language :: Python :: Implementation :: PyPy",
  50. ]