setup.py 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  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. root_dir = os.path.abspath(os.path.dirname(__file__))
  18. with open(os.path.join(root_dir, "README.md")) as f:
  19. README = f.read()
  20. setup(name="reddrip",
  21. version="1.0",
  22. description="Reddrip is Reddit subreddit picture ripper.",
  23. long_description=README,
  24. keywords="reddit crawler",
  25. author="Nikola Kotur",
  26. author_email="kotnick+python@gmail.com",
  27. url="", # Set to the github repo url.
  28. download_url="", # Set to the download link for tag.
  29. packages=find_packages(),
  30. include_package_data=True,
  31. zip_safe=False,
  32. scripts=[
  33. "bin/reddrip",
  34. ],
  35. install_requires=[
  36. "redis",
  37. "requests",
  38. "praw",
  39. "colorama",
  40. "texttable",
  41. ],
  42. platforms="any",
  43. classifiers=[
  44. "Programming Language :: Python",
  45. "Development Status :: 4 - Beta",
  46. "License :: OSI Approved :: GNU General Public License v3 or later (LGPLv3+)",
  47. "Environment :: Console",
  48. "Topic :: Internet :: WWW/HTTP",
  49. ],
  50. )