setup.py 1.1 KB

12345678910111213141516171819202122232425262728293031
  1. from setuptools import setup, find_packages
  2. import offlineimap_notify
  3. VERSION = offlineimap_notify.__version__
  4. with open('README.md') as readme_page:
  5. long_description = readme_page.read()
  6. setup(
  7. name='offlineimap-notify',
  8. version=VERSION,
  9. author=offlineimap_notify.__author__,
  10. author_email='distopico@riseup.net',
  11. description='Wrapper for add notification sending to OfflineIMAP',
  12. long_description=long_description,
  13. long_description_content_type='text/markdown',
  14. url='https://framagit.org/distopico/offlineimap-notify',
  15. download_url='https://framagit.org/distopico/offlineimap-notify/-/archive/v' + VERSION + '/offlineimap-notify-v' + VERSION + '.tar.gz',
  16. py_modules=['offlineimap_notify'],
  17. packages=find_packages(),
  18. classifiers=[
  19. 'Programming Language :: Python :: 2.7',
  20. 'License :: OSI Approved :: GNU Lesser General Public License v3 or later (LGPLv3+)'
  21. ],
  22. entry_points={
  23. 'console_scripts': ['offlineimap-notify = offlineimap_notify:main']
  24. },
  25. install_requires=['offlineimap'],
  26. python_requires='>=2.7',
  27. )