setup.py 2.7KB

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