chenjr0719 / Facebook-Page-Crawler

A Python crawler uses Facebook Graph API to crawling fan page's public posts, comments, and reactions.
MIT License
153 stars 62 forks source link

setup.py fix for pip.req issue #6

Closed sub7corp closed 5 years ago

sub7corp commented 5 years ago

in the setup.py headder you can fix the pip.req bug in setup by just a simple modification

BEFORE from setuptools import setup, find_packages from pip.req import parse_requirements import os AFTER from setuptools import setup, find_packages from pip._internal.req import parse_requirements import os

chenjr0719 commented 5 years ago

What version of pip did you use? This issue is caused by pip >= 10. I will make it compatible both in pip >= 10 and pip <= 9.0.3.