Skip to content

Commit

Permalink
Fix importing configparser
Browse files Browse the repository at this point in the history
  • Loading branch information
ritiek committed Jun 3, 2017
1 parent d79b054 commit b1afe91
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 4 deletions.
8 changes: 6 additions & 2 deletions gitfeed/gitfeed.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,17 @@
from colorama import Fore, Back, Style, init
from json import loads
from sys import argv, version_info
from six.moves.configparser import SafeConfigParser
from datetime import datetime
import requests
import argparse
from datetime import datetime
import time
import os.path

try:
import configparser
except:
from six.moves import configparser

def getArgs(argv=None):
file_path = setConfigurationFiles()
conf = SafeConfigParser()
Expand Down
1 change: 1 addition & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
requests >= 2.17.3
colorama >= 0.3.7
six >= 1.10.0
configparser >= 3.5.0
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
import gitfeed

setup(name='GitFeed',
version='0.1.4',
version='0.1.5',
description='Check your GitHub Newsfeed via the command-line.',
author='Ritiek Malhotra',
author_email='ritiekmalhotra123@gmail.com',
Expand All @@ -17,7 +17,7 @@
url='https://www.github.com/Ritiek/GitFeed',
keywords=['GitHub', 'news', 'feed', 'command-line', 'python'],
license='MIT',
download_url='https://github.com/Ritiek/GitFeed/archive/v0.1.4.tar.gz',
download_url='https://github.com/Ritiek/GitFeed/archive/v0.1.5.tar.gz',
classifiers=[],
install_requires=[
'requests >= 2.17.3',
Expand Down

0 comments on commit b1afe91

Please sign in to comment.