setup.py 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. """ Setup file.
  2. reddrip - simple reddid image ripper
  3. Copyright (C) 2013 Nikola Kotur <kotnick+python@gmail.com>
  4. This program is free software: you can redistribute it and/or modify
  5. it under the terms of the GNU General Public License as published by
  6. the Free Software Foundation, either version 3 of the License, or
  7. (at your option) any later version.
  8. This program is distributed in the hope that it will be useful,
  9. but WITHOUT ANY WARRANTY; without even the implied warranty of
  10. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  11. GNU General Public License for more details.
  12. You should have received a copy of the GNU General Public License
  13. along with this program. If not, see <http://www.gnu.org/licenses/>.
  14. """
  15. import os
  16. from setuptools import setup, find_packages
  17. __VERSION__ = "2.0.1"
  18. root_dir = os.path.abspath(os.path.dirname(__file__))
  19. readme_file = os.path.join(root_dir, "README.md")
  20. README = 'Reddrip is Reddit subreddit picture ripper.'
  21. if os.path.exists(readme_file):
  22. with open(readme_file) as f:
  23. README = f.read()
  24. setup(name="reddrip",
  25. version=__VERSION__,
  26. description="Reddrip is Reddit subreddit picture ripper.",
  27. long_description=README,
  28. keywords="reddit crawler",
  29. author="Nikola Kotur",
  30. author_email="kotnick+python@gmail.com",
  31. url="https://github.com/kotnik/reddrip",
  32. download_url="https://github.com/kotnik/reddrip/archive/v1.1.tar.gz",
  33. packages=find_packages(),
  34. include_package_data=True,
  35. zip_safe=False,
  36. scripts=[
  37. "bin/reddrip",
  38. ],
  39. install_requires=[
  40. "redis",
  41. "requests",
  42. "praw",
  43. "colorama",
  44. "texttable",
  45. ],
  46. platforms="any",
  47. classifiers=[
  48. "Programming Language :: Python",
  49. "Development Status :: 4 - Beta",
  50. "License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)",
  51. "Environment :: Console",
  52. "Topic :: Internet :: WWW/HTTP",
  53. ],
  54. )