Skip to content

Commit

Permalink
Fixed the install script, input error, and script command error
Browse files Browse the repository at this point in the history
  • Loading branch information
elijahsawyers committed Jul 19, 2019
1 parent 6b262ac commit 465ba54
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 5 deletions.
4 changes: 2 additions & 2 deletions autostack/__main__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#!/usr/bin/env python3
'''
Authors: Elijah Sawyers, Benjamin Sanders
Emails: elijahsawyers@gmail.com, ben.sanders97@gmail.com
Expand All @@ -9,6 +8,7 @@
'''

from __future__ import print_function
from builtins import input
import os
from .web_scraper.stack_overflow_scraper import StackOverflowScraper

Expand Down Expand Up @@ -89,7 +89,7 @@ def main():
# If the user's question has been answered, don't keep looping over posts.
while True:
print('Did this answer your question? (Y/n): ', end='')
question_answered = raw_input()
question_answered = input()
if str(question_answered) == 'Y' or str(question_answered) == 'n':
break
if str(question_answered) == 'Y':
Expand Down
2 changes: 1 addition & 1 deletion autostack/autostack-terminal
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
#!/usr/bin/env bash
script -q -F /tmp/monitorPipe
bash -c "script -q -F /tmp/monitorPipe"
3 changes: 2 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
setuptools.setup(
# General setup information.
name='autostack',
version='0.0.9',
version='0.0.10',
packages=setuptools.find_packages(exclude=['tests']),
scripts=[
'autostack/autostack-terminal'
Expand All @@ -25,6 +25,7 @@
'termcolor>=1.1.0',
'lxml>=4.3.2',
'beautifulsoup4>=4.7.1',
'future>=0.17.1',
],

# Meta data.
Expand Down
4 changes: 3 additions & 1 deletion uninstall.sh
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
pip3 uninstall autostack
rm /usr/local/bin/autostack
rm /usr/local/bin/autostack-terminal
rm -rf autostack.egg-info

0 comments on commit 465ba54

Please sign in to comment.