Skip to content

Commit

Permalink
Removed rewriting README.md with ONLY sdist
Browse files Browse the repository at this point in the history
  • Loading branch information
bobirdmi committed Nov 4, 2016
1 parent 0c90e14 commit 4266aca
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
from setuptools import setup, find_packages
import sys

if sys.argv[-1] == 'sdist':
with open('githubissuesbot/README.md', 'w') as file_out:
with open('README.md', 'r') as file_in:
file_out.write(file_in.read())
with open('githubissuesbot/README.md', 'w') as file_out:
with open('README.md', 'r') as file_in:
file_out.write(file_in.read())

with open('README.rst', 'r') as file:
long_description = file.read()
Expand Down

0 comments on commit 4266aca

Please sign in to comment.