HACKER097 / wisdom-tree

Wisdom Tree is a TUI concentration app, with features like pomodoro timer, YouTube music player, Lo-fi radio.
MIT License
353 stars 22 forks source link

Converting to a pip installable app #5

Closed yasserfarouk closed 3 years ago

yasserfarouk commented 3 years ago

1- Added setup.py allowing creation of a package using

python setup.py sdist bdist_wheel

  1. Adding pypi support. You can now upload this to pypi as a package using: pip install twine twine upload dist/wisdomtree-0.0.1*

After that, users can just do: pip isntall wisdomtree

You can check setup.py to confirm that the information provided for the author and github are for the original author of the wisdom-tree (HACKER097).

  1. Adding an entry point called wisdomtree. After installation using pip, users can just do:

    wisdom

    from anywahere to run the app.

  2. Refactoring timer constants on the top of the file to make it easy to add custom values.

  3. Moving main.py and all files to within wisdomtree as recommended for python project structure.

  4. Adding vim key support (See the README)

HACKER097 commented 3 years ago

This is amazing! Just replace wisdomtree with wisdom-tree everywhere, and I'll pull it in.

yasserfarouk commented 3 years ago

I am not sure about windows though. I only use mac and Linux and we can have an app called wisdom-tree there. Can we have that on windows? Anyway, will do the updates now.

thanks

yasserfarouk commented 3 years ago

I did the change to wisdom-tree Please check it f3db04217ea41e100d6c643dc4579dff0b3833a1

yasserfarouk commented 3 years ago

Please note that I did not push to pypi because it should be pushed under your name.

You will need to use twine:

pip install twine python setup.py sdist bdist_wheel twine upload dist/wisdom-tree*

It will ask for your username and password at pypi.

After that, we can all just pip install wisdom-tree :-)

HACKER097 commented 3 years ago

Its here! pip install wisdom-tree will install wisdom tree!