anshumanv / chia-anime-downloader

Anime batch downloader script for https://chia-anime.tv
MIT License
20 stars 5 forks source link

Feature/setup #14

Closed wyj1026 closed 6 years ago

wyj1026 commented 6 years ago

This is a setup script for this repo and I tested it successfully in linux. Leave me a message if you hava any questions. :smile:

anshumanv commented 6 years ago

I'm commuting presently, will check in a while. :+1:

On Oct 6, 2017 8:26 AM, "ηŽ‹δΈ€ζ°" notifications@github.com wrote:

This is a setup script for this repo and I tested it successfully in linux. Leave me a message if you hava any questions. πŸ˜„

You can view, comment on, or merge this pull request online at:

https://github.com/anshumanv/chia-anime-downloader/pull/14 Commit Summary

  • change file name
  • add setup

File Changes

Patch Links:

β€” You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/anshumanv/chia-anime-downloader/pull/14, or mute the thread https://github.com/notifications/unsubscribe-auth/AUCUL_GPQDZGlo3VkbTAZGCM4Xo5yMsbks5spZbGgaJpZM4Pv8op .

anshumanv commented 6 years ago

It shows merge conflicts presently, can you please solve them ?

wyj1026 commented 6 years ago

I've fixed the conflicts. : )

Yureien commented 6 years ago

Hey, the code seems alright, but I think the other libs in requirements.txt should be added too.

Also, is there a way to run sudo pip3 install -r requirements.txt, or is that unnecessary?

anshumanv commented 6 years ago

Thanks ! πŸ‘ Getting this error on windows, can you please look into this ?

  File ".\setup.py", line 13
    entry_points={
               ^
SyntaxError: invalid syntax
anshumanv commented 6 years ago

Is there any dependency i need to install ?

Yureien commented 6 years ago

I'm getting the error too on Linux.

wyj1026 commented 6 years ago

Sorry about that, it should work now.

anshumanv commented 6 years ago

Thanks for the follow up @wyj1026 The install ran successfully but not able to use it after install from terminal

PS E:\Anshu\GIT\chia-anime-downloader> chia_anime_downloader search haikyuu
Traceback (most recent call last):
  File "C:\Users\Rohit\AppData\Local\Programs\Python\Python36\Scripts\chia_anime_downloader-script.py", line
ule>
    load_entry_point('chia-anime-downloader==1.0', 'console_scripts', 'chia_anime_downloader')()
  File "C:\Users\Rohit\AppData\Local\Programs\Python\Python36\lib\site-packages\pkg_resources\__init__.py", l
 load_entry_point
    return get_distribution(dist).load_entry_point(group, name)
  File "C:\Users\Rohit\AppData\Local\Programs\Python\Python36\lib\site-packages\pkg_resources\__init__.py", l
n load_entry_point
    return ep.load()
  File "C:\Users\Rohit\AppData\Local\Programs\Python\Python36\lib\site-packages\pkg_resources\__init__.py", l
n load
    return self.resolve()
  File "C:\Users\Rohit\AppData\Local\Programs\Python\Python36\lib\site-packages\pkg_resources\__init__.py", l
n resolve
    module = __import__(self.module_name, fromlist=['__name__'], level=0)
ModuleNotFoundError: No module named 'chia_anime_downloader'

For some reason it's not getting installed globally, can you look into this please ? πŸ˜„

Yureien commented 6 years ago

This is working fine for me on Linux. @anshumanv have you tried running it as an admin?

anshumanv commented 6 years ago

Tried running as admin, same issues @FadedCoder.

Yureien commented 6 years ago

@anshumanv Try python -m chia_anime_downloader

anshumanv commented 6 years ago

Doesn't work, says module not found.

wyj1026 commented 6 years ago

I don't have a windows computer, so I have no idea why it doesn't work on windows. 😞

anshumanv commented 6 years ago

Alright, thanks @wyj1026

Yureien commented 6 years ago

No worries. I'll find a fix later on. First, let's complete the scraper.