-
-
Notifications
You must be signed in to change notification settings - Fork 532
Conversation
Need to squash into self-contained commits to be merged. I'll review this either tonight or tomorrow afternoon, if @jarun doesn't beat me to that. |
A note on PyPI though: I don't think it's a good idea to upload to PyPI a "module" that cannot and should not be imported. |
I took a brief look actually: the use of I haven't looked at the details yet. |
pip and pypi have to do with libraries. We can't add this, unfortunately. I do have some other stuff in mind:
As the first step, I think the functions are small and quite modular now with all extra conversions and assignments gone. I shared the above in this particular thread because both of you have tremendous contributions in spreading and making |
Re Windows: chocolatey. I have hardly ever used it in person though (been using it on AppVeyor — a Windows CI — to install prereqs like FFmpeg), because I have hardly touched Windows since I fled from it years ago. Re API docs: I love docs, definitely more of those! As for style, I prefer numpy style (easier to read and potentially more extensive at the cost of taking up more vertical space), but I know many people prefer Google style. Could you please let me know your preferences? As for HTML docs, I have quite some experience with Sphinx, but I always worked with packages. It remains to see if Sphinx could work with non-modularized code. I'll take a look this weekend if I have time. Re ToDo list: I personally like issues tagged with "help wanted". I personally look at the "help wanted" tag if I feel like contributing to a project. |
I came across I used numpy for We have a limit on keeping issues alive, remember? We can add a ToDo list section in README, given we have some items other than stuff we already discussed. I would like to add a deb package (noarch) if we can find a maintainer. BTW, does GitHub have any way to integrate generation of deb packages? |
I'll close this PR, as it's out of scope for now. That being said, I'd love to see a TODO list, or even issues. Both work for me personally. @jarun I can create debian packaging sometime this coming week to install the files. It'll be fairly straight forward. What you can do would be attach "binarys" (.deb file) when you create a release on github. And link to it on readme etc. We can explore that later tho. |
@shaggytwodope that's awesome! can't thank you enough, really. |
Continue discussion in #65. |
Hi guys, I'm a windows user and i find about 'googler' in this article in portuguese: http://terminalroot.com.br/2017/02/como-pesquisar-no-google-pelo-terminal.html then I try to use in Windows, I didn't get how to use like a variable of the system or call from the root but I got it how a python file. Look for this picture of my example in my fb: https://www.facebook.com/photo.php?fbid=1465830426780906&set=a.222344804462814.60161.100000618879721&type=3&theater |
@lhaisrs So the short of it is that the terminal (shell?) you are using isnt making use of the hardcoded ansi color codes. Thats why the output is funky. Not sure what you can do, short of using another shell (maybe powershell? not a windows user sorry). |
By the way you also need to change code page to UTF-8 on Windows — |
Worked so much better in Powershell, but showed this error: 'charmap' codec can't encode character '\u2014' in position 101: character maps to that @zmwangx told about. |
I can't quite parse that sentence, sorry... But does |
@lhaisrs Anyway, if you need additional help, please open a new issue (and follow the instructions in the template). This thread is hardly related to running googler on Windows. |
So I'm not sure why the makefile, nothing wrong with it ofc.
But I had some free time and figured I'd write a setup.py,
and maybe even throw it up on pypi. However that plan back
fired. It seems like
googler
is taken on pypi. That asideif @jarun is cool with adding this an alt name could be
considered on pypi.
A small note, default
prefix
is/usr/local
like the makefile.I guess if its cool to add to project, the command to install would
be something like:
sudo python setup.py install --prefix=/usr
touse
/usr/
over/usr/local/
ofc.Like I said nothing wrong with current install method. But pypi
permits people to install with some ease.