setup.py 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. from setuptools import setup, find_packages
  2. from codecs import open
  3. from os import path
  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. 'requests',
  27. 'beautifulsoup4',
  28. 'pystache',
  29. ],
  30. package_data={
  31. 'novinky_polls': [
  32. 'templates/*',
  33. 'test/*',
  34. ],
  35. },
  36. entry_points={
  37. 'console_scripts': [
  38. 'novinky-polls-add-archive-org=novinky_polls.add_archive_org:main',
  39. 'novinky-polls-add-current=novinky_polls.add_current:main',
  40. 'novinky-polls-analyze=novinky_polls.analyze:main',
  41. 'novinky-polls-refresh=novinky_polls.refresh:main',
  42. 'novinky-polls-render-html=novinky_polls.render_html:main',
  43. 'novinky-polls-render-print=novinky_polls.render_print:main',
  44. 'novinky-polls-render-text=novinky_polls.render_text:main',
  45. ],
  46. },
  47. )