Advertisement
Guest User

Untitled

a guest
Nov 21st, 2017
362
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.51 KB | None | 0 0
  1. """Blih installation script
  2.  
  3. https://github.com/bocal/blih
  4. """
  5.  
  6. from setuptools import setup, find_packages
  7. from codecs import open as copen
  8. import os
  9.  
  10.  
  11. MODULE_NAME = 'blih'
  12.  
  13.  
  14. def get_long_description():
  15. """ Retrieve the long description from README.rst """
  16. here = os.path.abspath(os.path.dirname(__file__))
  17.  
  18. with copen(os.path.join(here, 'README.rst'), encoding='utf-8') as description:
  19. return description.read()
  20.  
  21. def get_version():
  22. """ Retrieve version information from the package """
  23. return __import__('blih').__version__
  24.  
  25.  
  26. setup(
  27. name=MODULE_NAME,
  28. version=get_version(),
  29. description="BLIH - Bocal Lightweight Interface for Humans",
  30. long_description=get_long_description(),
  31.  
  32. url="https://github.com/bocal/blih",
  33.  
  34. author="Emmanuel Vadot",
  35. author_email="elbarto@bocal.org",
  36.  
  37. license="BSD",
  38.  
  39. install_requires=['requests'],
  40.  
  41. classifiers=[
  42. 'Development Status :: 5 - Production/Stable',
  43. 'Environment :: Console',
  44.  
  45. 'Intended Audience :: End Users/Desktop',
  46. 'Topic :: Utilities',
  47.  
  48. 'License :: OSI Approved :: BSD License',
  49.  
  50. 'Programming Language :: Python :: 3',
  51. 'Programming Language :: Python :: 3.3',
  52. 'Programming Language :: Python :: 3.4',
  53. ],
  54.  
  55. packages=find_packages(exclude=['contrib', 'docs', 'tests*']),
  56.  
  57. keywords="blih bocal api",
  58.  
  59. entry_points={
  60. 'console_scripts': [
  61. 'blih=blih:main',
  62. ],
  63. },
  64. )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement