setup.py 2.8KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  1. # coding: utf-8
  2. # Always prefer setuptools over distutils
  3. from setuptools import setup
  4. from setuptools import find_packages
  5. from os import path
  6. here = path.abspath(path.dirname(__file__))
  7. install_requires = [
  8. # Note: Bottle will be an extension in future
  9. 'bottle==0.12.13',
  10. 'marshmallow==2.13.6',
  11. ]
  12. tests_require = [
  13. 'pytest',
  14. ]
  15. setup(
  16. name='hapic',
  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.0.1',
  21. description='HTTP api input/output manager',
  22. # long_description=long_description,
  23. long_description='',
  24. # The project's main homepage.
  25. url='http://gitlab.algoo.fr:10080/algoo/hapic.git',
  26. # Author details
  27. author='Algoo Development Team',
  28. author_email='contact@algoo.fr',
  29. # Choose your license
  30. license='',
  31. # What does your project relate to?
  32. keywords='http api validation',
  33. # You can just specify the packages manually here if your project is
  34. # simple. Or you can use find_packages().
  35. packages=find_packages(exclude=['contrib', 'docs', 'tests']),
  36. # Alternatively, if you want to distribute just a my_module.py, uncomment
  37. # this:
  38. # py_modules=["my_module"],
  39. # List run-time dependencies here. These will be installed by pip when
  40. # your project is installed. For an analysis of "install_requires" vs pip's
  41. # requirements files see:
  42. # https://packaging.python.org/en/latest/requirements.html
  43. install_requires=install_requires,
  44. # List additional groups of dependencies here (e.g. development
  45. # dependencies). You can install these using the following syntax,
  46. # for example:
  47. # $ pip install -e ".[test]"
  48. extras_require={
  49. 'test': tests_require,
  50. },
  51. # If there are data files included in your packages that need to be
  52. # installed, specify them here. If using Python 2.6 or less, then these
  53. # have to be included in MANIFEST.in as well.
  54. # package_data={
  55. # 'sample': ['package_data.dat'],
  56. # },
  57. # Although 'package_data' is the preferred approach, in some case you may
  58. # need to place data files outside of your packages. See:
  59. # http://docs.python.org/3.4/distutils/setupscript.html#installing-additional-files # noqa
  60. # In this case, 'data_file' will be installed into '<sys.prefix>/my_data'
  61. # data_files=[('my_data', ['data/data_file'])],
  62. # To provide executable scripts, use entry points in preference to the
  63. # "scripts" keyword. Entry points provide cross-platform support and allow
  64. # pip to create the appropriate form of executable for the target platform.
  65. entry_points={},
  66. setup_requires=[],
  67. tests_require=tests_require,
  68. )