From add06ffa7a98effff3c061335c57ade61a1d9b6e Mon Sep 17 00:00:00 2001 From: Mads Marquart Date: Thu, 22 Jun 2017 23:35:28 +0200 Subject: [PATCH] I was having trouble with PyPI ;) --- fbchat/__init__.py | 2 +- setup.py | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/fbchat/__init__.py b/fbchat/__init__.py index adcdc17..353e365 100644 --- a/fbchat/__init__.py +++ b/fbchat/__init__.py @@ -14,7 +14,7 @@ from datetime import datetime from .client import * __copyright__ = 'Copyright 2015 - {} by Taehoon Kim'.format(datetime.now().year) -__version__ = '1.0.0' +__version__ = '1.0.1' __license__ = 'BSD' __author__ = 'Taehoon Kim; Moreels Pieter-Jan; Mads Marquart' __email__ = 'carpedm20@gmail.com' diff --git a/setup.py b/setup.py index a7a5520..bbb6901 100644 --- a/setup.py +++ b/setup.py @@ -16,7 +16,10 @@ except ImportError: with open('README.rst') as f: readme_content = f.read().strip() -requirements = [line.rstrip('\n') for line in open('requirements.txt')] +try: + requirements = [line.rstrip('\n') for line in open('fbchat.egg-info/requires.txt')] +except FileNotFoundError: + requirements = [line.rstrip('\n') for line in open('requirements.txt')] version = None author = None