setup.patch 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. diff --git a/setup.py b/setup.py
  2. index 71bdb08..b425618 100644
  3. --- a/setup.py
  4. +++ b/setup.py
  5. @@ -1,17 +1,25 @@
  6. # Distutils script for python-xlib
  7. -from pkg_resources import parse_requirements
  8. -from setuptools import (__version__ as setuptools_version, setup)
  9. +from setuptools import setup
  10. -
  11. -# Check setuptools is recent enough to support `setup.cfg`.
  12. -setuptools_require = next(parse_requirements('setuptools>=30.3.0'))
  13. -assert setuptools_version in setuptools_require, '{} is required'.format(setuptools_require)
  14. +import Xlib
  15. setup(
  16. + name='python-xlib',
  17. + version=Xlib.__version_string__,
  18. +
  19. + description='Python X Library',
  20. + download_url='https://github.com/python-xlib/python-xlib/releases',
  21. + url='https://github.com/python-xlib/python-xlib',
  22. + license='LGPLv2+',
  23. +
  24. + author='Peter Liljenberg',
  25. + author_email='petli@ctrl-c.liu.se',
  26. +
  27. install_requires=['six>=1.10.0'],
  28. setup_requires=['setuptools-scm'],
  29. +
  30. packages=[
  31. 'Xlib',
  32. 'Xlib.ext',
  33. @@ -20,4 +28,22 @@ setup(
  34. 'Xlib.support',
  35. 'Xlib.xobject'
  36. ],
  37. +
  38. + keywords='xlib x11 x windows',
  39. + classifiers=[
  40. + 'Development Status :: 5 - Production/Stable',
  41. + 'Environment :: X11 Applications',
  42. + 'Intended Audience :: Developers',
  43. + 'License :: OSI Approved :: GNU Lesser General Public License v2 or later (LGPLv2+)',
  44. + 'Operating System :: OS Independent',
  45. + 'Programming Language :: Python :: 2.7',
  46. + 'Programming Language :: Python :: 3',
  47. + 'Programming Language :: Python :: 3.3',
  48. + 'Programming Language :: Python :: 3.4',
  49. + 'Programming Language :: Python :: 3.5',
  50. + 'Programming Language :: Python :: Implementation :: CPython',
  51. + 'Topic :: Software Development :: Libraries :: Python Modules',
  52. + 'Topic :: Software Development :: Libraries',
  53. + 'Topic :: Software Development :: User Interfaces',
  54. + ],
  55. )
  56. --
  57. 2.22.0