tasos-py / Search-Engines-Scraper

Search google, bing, yahoo, and other search engines with python
MIT License
538 stars 145 forks source link

Host Search-Engines-Scraper on PyPi #13

Closed jininvt closed 3 years ago

jininvt commented 3 years ago

Hi there

I'd like to use Search-Engines-Scraper on a web application that I'm working on.

To avoid having to upload the 233KB file with my web application and having to do run the setup.py and deploy the new code with each update, will this project be hosted on PyPi anytime soon?

It'd be easier to run updates through the requirements.txt file.

Thanks

jininvt commented 3 years ago
Screenshot 2021-02-23 at 10 39 25 PM

Also, I am unable to pip install the repository via Git because it depends on search-engines

tasos-py commented 3 years ago

No, sorry, I don't plan to upload this repo to Pypi. But your command runs fine on my machine (Windows, Python3.7), so maybe we can make it work.

c:\Users\i\Documents\scripts>py -m pip install -e git+https://github.com/tasos-py/Search-Engines-Scraper#egg=Search-Engines-Scraper
Obtaining Search-Engines-Scraper from git+https://github.com/tasos-py/Search-Engines-Scraper#egg=Search-Engines-Scraper
  Cloning https://github.com/tasos-py/Search-Engines-Scraper to c:\users\i\documents\scripts\src\search-engines-scraper
  Running setup.py (path:c:\Users\i\Documents\scripts\src\search-engines-scraper\setup.py) egg_info for package Search-Engines-Scraper produced metadata for project name search-engines. Fix your #egg=Search-Engines-Scraper fragments.
Requirement already satisfied: requests[socks] in c:\python37\lib\site-packages (from search-engines) (2.21.0)
Requirement already satisfied: bs4 in c:\python37\lib\site-packages (from search-engines) (0.0.1)
Requirement already satisfied: chardet<3.1.0,>=3.0.2 in c:\python37\lib\site-packages (from requests[socks]->search-engines) (3.0.4)
Requirement already satisfied: certifi>=2017.4.17 in c:\python37\lib\site-packages (from requests[socks]->search-engines) (2020.6.20)
Requirement already satisfied: idna<2.9,>=2.5 in c:\python37\lib\site-packages (from requests[socks]->search-engines) (2.8)
Requirement already satisfied: urllib3<1.25,>=1.21.1 in c:\python37\lib\site-packages (from requests[socks]->search-engines) (1.24.1)
Requirement already satisfied: PySocks!=1.5.7,>=1.5.6; extra == "socks" in c:\python37\lib\site-packages (from requests[socks]->search-engines) (1.6.8)
Requirement already satisfied: beautifulsoup4 in c:\python37\lib\site-packages (from bs4->search-engines) (4.8.1)
Requirement already satisfied: soupsieve>=1.2 in c:\python37\lib\site-packages (from beautifulsoup4->bs4->search-engines) (1.9.4)
mitmproxy 4.0.4 has requirement click<7,>=6.2, but you'll have click 7.1.2 which is incompatible.
Installing collected packages: search-engines
  Running setup.py develop for search-engines
Successfully installed search-engines

I noticed that your pip complains about inconsistencies between the project name and egg name. What happens if you change #egg=Search-Engines-Scraper to #egg=search-engines?

jininvt commented 3 years ago

Changing it to #egg=search-engines worked. Thank you!