setup.py 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. from codecs import open
  2. from os import path
  3. from setuptools import find_packages, setup
  4. here = path.abspath(path.dirname(__file__))
  5. with open(path.join(here, 'README.md'), encoding='utf-8') as f:
  6. long_description = f.read()
  7. setup(
  8. name='novinky_polls',
  9. version='1.0.0',
  10. description='Tools to work with Novinky.cz\'s polls',
  11. long_description=long_description,
  12. url='https://lab.saloun.cz/jakub/novinky-polls',
  13. author='Jakub Valenta',
  14. author_email='jakub@jakubvalenta.cz',
  15. license='Apache Software License',
  16. classifiers=[
  17. 'Development Status :: 3 - Alpha',
  18. 'Intended Audience :: Developers',
  19. 'Topic :: Artistic Software',
  20. 'License :: OSI Approved :: Apache Software License',
  21. 'Programming Language :: Python :: 3.2',
  22. ],
  23. keywords='',
  24. packages=find_packages(),
  25. install_requires=[
  26. 'babel',
  27. 'requests',
  28. 'beautifulsoup4',
  29. 'pystache',
  30. ],
  31. package_data={
  32. 'novinky_polls': [
  33. 'templates/*',
  34. 'test/*',
  35. ],
  36. },
  37. entry_points={
  38. 'console_scripts': [
  39. 'novinky-polls-add-archive-org=novinky_polls.add_archive_org:main',
  40. 'novinky-polls-add-current=novinky_polls.add_current:main',
  41. 'novinky-polls-analyze=novinky_polls.analyze:main',
  42. 'novinky-polls-refresh=novinky_polls.refresh:main',
  43. 'novinky-polls-render-html=novinky_polls.render_html:main',
  44. 'novinky-polls-render-print=novinky_polls.render_print:main',
  45. 'novinky-polls-render-text=novinky_polls.render_text:main',
  46. ],
  47. },
  48. )