twintproject / twint

An advanced Twitter scraping & OSINT tool written in Python that doesn't use Twitter's API, allowing you to scrape a user's followers, following, Tweets and more while evading most API limitations.
MIT License
15.65k stars 2.72k forks source link

[BUG] setup.py cleared out in PR #537 #549

Closed learnitall closed 4 years ago

learnitall commented 4 years ago

setup.py cleared out in PR #537 (Commit 42c963adf7b4a436fe838dfb4fd6843af7ca9cad)

Initial Check

Make sure you've checked the following:

Command Ran

Please provide the exact command ran including the username/search/code so I may reproduce the issue.

Tried building the twint docker image found in twint-search

Description of Issue

Just tried building the twint docker image for twint-search and received the following error:

Traceback (most recent call last):
     File "<string>", line 1, in <module>
     File "/src/twint/setup.py", line 1, in <module>
        setup(
   NameError: name 'setup' is not defined

In commit 42c963adf7b4a436fe838dfb4fd6843af7ca9cad as a part of PR #537, the entire beginning of setup.py is cleared out, so now the file just contains a plain 'ol call to setup. Since it wasn't imported from setuptools, nor defined anywhere prior, python complains that setup cannot be found. Was this done by accident?

Environment Details

Running on Docker for Mac

Thanks!

pielco11 commented 4 years ago

My fault, quite embarrassing

Thanks for reporting!