Browse Source

Installation fixes.

Nikola Kotur 10 years ago
parent
commit
bf9b86b24e
3 changed files with 7 additions and 4 deletions
  1. 1 2
      .bumpversion.cfg
  2. 1 0
      .gitignore
  3. 5 2
      setup.py

+ 1 - 2
.bumpversion.cfg

@@ -2,5 +2,4 @@
 files = setup.py reddrip/__init__.py
 commit = True
 tag = True
-tag_name = "v{new_version}"
-
+tag_name = v{new_version}

+ 1 - 0
.gitignore

@@ -3,3 +3,4 @@
 
 output
 reddrip.egg-info
+dist

+ 5 - 2
setup.py

@@ -23,8 +23,11 @@ from setuptools import setup, find_packages
 __VERSION__ = "1.2.0"
 
 root_dir = os.path.abspath(os.path.dirname(__file__))
-with open(os.path.join(root_dir, "README.md")) as f:
-    README = f.read()
+readme_file = os.path.join(root_dir, "README.md")
+README = 'Reddrip is Reddit subreddit picture ripper.'
+if os.path.exists(readme_file):
+    with open(readme_file) as f:
+        README = f.read()
 
 setup(name="reddrip",
     version=__VERSION__,