From 9d5f06b810bca48adac58dbdcec49e9d145aa39e Mon Sep 17 00:00:00 2001 From: Mads Marquart Date: Sat, 30 Sep 2017 19:17:40 +0200 Subject: [PATCH] Fixed pip setup --- fbchat/__init__.py | 2 +- setup.py | 10 ++++++---- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/fbchat/__init__.py b/fbchat/__init__.py index 43e0132..dbd642c 100644 --- a/fbchat/__init__.py +++ b/fbchat/__init__.py @@ -17,7 +17,7 @@ from .client import * __copyright__ = 'Copyright 2015 - {} by Taehoon Kim'.format(datetime.now().year) -__version__ = '1.0.22' +__version__ = '1.0.23' __license__ = 'BSD' __author__ = 'Taehoon Kim; Moreels Pieter-Jan; Mads Marquart' __email__ = 'carpedm20@gmail.com' diff --git a/setup.py b/setup.py index 3ce1c77..2b8560a 100644 --- a/setup.py +++ b/setup.py @@ -16,10 +16,12 @@ except ImportError: with open('README.rst') as f: readme_content = f.read().strip() -try: - requirements = [line.rstrip('\n') for line in open(os.path.join('fbchat.egg-info', 'requires.txt'))] -except IOError: - requirements = [line.rstrip('\n') for line in open('requirements.txt')] +requirements = [ + 'requests', + 'lxml', + 'beautifulsoup4', + "enum34; python_version == '2.7'" +] version = None author = None