setup.py 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111
  1. """A setuptools based setup module.
  2. See:
  3. https://packaging.python.org/en/latest/distributing.html
  4. https://github.com/pypa/sampleproject
  5. """
  6. # Always prefer setuptools over distutils
  7. from setuptools import setup, find_packages
  8. # To use a consistent encoding
  9. from codecs import open
  10. from os import path
  11. here = path.abspath(path.dirname(__file__))
  12. # Get the long description from the README file
  13. with open(path.join(here, 'README.markdown'), encoding='utf-8') as f:
  14. long_description = f.read()
  15. setup(
  16. name='redclap',
  17. # Versions should comply with PEP440. For a discussion on single-sourcing
  18. # the version across setup.py and the project code, see
  19. # https://packaging.python.org/en/latest/single_source_version.html
  20. version='0.10.0',
  21. description='Powerful and advanced command line interface library',
  22. long_description=long_description,
  23. # The project's main homepage.
  24. url='https://github.com/posbit/clap',
  25. # Author details
  26. author='Marek Marecki',
  27. author_email='',
  28. # Choose your license
  29. license='GNU GPL v3',
  30. # See https://pypi.python.org/pypi?%3Aaction=list_classifiers
  31. classifiers=[
  32. # How mature is this project? Common values are
  33. # 3 - Alpha
  34. # 4 - Beta
  35. # 5 - Production/Stable
  36. 'Development Status :: 3 - Alpha',
  37. # Indicate who your project is intended for
  38. 'Intended Audience :: Developers',
  39. 'Topic :: Software Development :: Build Tools',
  40. # Pick your license as you wish (should match "license" above)
  41. # 'License :: OSI Approved :: MIT License',
  42. # Specify the Python versions you support here. In particular, ensure
  43. # that you indicate whether you support Python 2, Python 3 or both.
  44. 'Programming Language :: Python :: 3.3',
  45. 'Programming Language :: Python :: 3.4',
  46. 'Programming Language :: Python :: 3.5',
  47. ],
  48. # What does your project relate to?
  49. keywords='commandline library',
  50. # You can just specify the packages manually here if your project is
  51. # simple. Or you can use find_packages().
  52. packages=find_packages(exclude=['contrib', 'docs', 'tests']),
  53. # Alternatively, if you want to distribute just a my_module.py, uncomment
  54. # this:
  55. py_modules=["clap"],
  56. # List run-time dependencies here. These will be installed by pip when
  57. # your project is installed. For an analysis of "install_requires" vs pip's
  58. # requirements files see:
  59. # https://packaging.python.org/en/latest/requirements.html
  60. # install_requires=['peppercorn'],
  61. # List additional groups of dependencies here (e.g. development
  62. # dependencies). You can install these using the following syntax,
  63. # for example:
  64. # $ pip install -e .[dev,test]
  65. # extras_require={
  66. # 'dev': ['check-manifest'],
  67. # 'test': ['coverage'],
  68. # },
  69. # If there are data files included in your packages that need to be
  70. # installed, specify them here. If using Python 2.6 or less, then these
  71. # have to be included in MANIFEST.in as well.
  72. # package_data={
  73. # 'sample': ['package_data.dat'],
  74. # },
  75. # Although 'package_data' is the preferred approach, in some case you may
  76. # need to place data files outside of your packages. See:
  77. # http://docs.python.org/3.4/distutils/setupscript.html#installing-additional-files # noqa
  78. # In this case, 'data_file' will be installed into '<sys.prefix>/my_data'
  79. # data_files=[('my_data', ['data/data_file'])],
  80. # To provide executable scripts, use entry points in preference to the
  81. # "scripts" keyword. Entry points provide cross-platform support and allow
  82. # pip to create the appropriate form of executable for the target platform.
  83. # entry_points={
  84. # 'console_scripts': [
  85. # 'sample=sample:main',
  86. # ],
  87. # },
  88. )