Giter Club home page Giter Club logo

Comments (10)

WhyNotHugo avatar WhyNotHugo commented on July 26, 2024

brew create https://github.com/pimutils/todoman/archive/v1.7.0.tar.gz seems like a useful starting point if you're willing to look into this.

I wanted to give this a try, but most of the dependencies are missing too, so formulas for those are required as well (I only have an OS X VM laying around, I don't actively use it so as to commit to maintaining that many hombrew formulas).

from todoman.

rnkn avatar rnkn commented on July 26, 2024

I'm not really familiar enough with how todoman works to create the formula for it, and it's also a bit of a chicken/egg case as I'd only become familiar with it if I could install it...

from todoman.

untitaker avatar untitaker commented on July 26, 2024

You can do that using pip install --user todoman, which installs into ~/.local/bin and ~/.local/lib, though it won't update via homebrew.

from todoman.

WhyNotHugo avatar WhyNotHugo commented on July 26, 2024

I'm not really familiar enough with how todoman works to create the formula for it

You don't really need to know any specifics, just package the dependencies are regular python libs, and then todoman.

I'll leave this open though, since contributor are welcome to package it, but since none of us use OSX/macOS, we simply can't/won't be doing this ourselves.

from todoman.

rnkn avatar rnkn commented on July 26, 2024

I made an attempt at creating a formula here https://gist.github.com/rnkn/a5189ef2640595117ce8505cadd052da

But this gives me

Last 15 lines from /Users/Paul/Library/Logs/Homebrew/todoman/09.pip:
  File "/usr/local/Cellar/todoman/1.7.0/libexec/lib/python3.5/site-packages/pip/commands/install.py", line 335, in run
    wb.build(autobuilding=True)
  File "/usr/local/Cellar/todoman/1.7.0/libexec/lib/python3.5/site-packages/pip/wheel.py", line 749, in build
    self.requirement_set.prepare_files(self.finder)
  File "/usr/local/Cellar/todoman/1.7.0/libexec/lib/python3.5/site-packages/pip/req/req_set.py", line 380, in prepare_files
    ignore_dependencies=self.ignore_dependencies))
  File "/usr/local/Cellar/todoman/1.7.0/libexec/lib/python3.5/site-packages/pip/req/req_set.py", line 634, in _prepare_file
    abstract_dist.prep_for_dist()
  File "/usr/local/Cellar/todoman/1.7.0/libexec/lib/python3.5/site-packages/pip/req/req_set.py", line 129, in prep_for_dist
    self.req_to_install.run_egg_info()
  File "/usr/local/Cellar/todoman/1.7.0/libexec/lib/python3.5/site-packages/pip/req/req_install.py", line 439, in run_egg_info
    command_desc='python setup.py egg_info')
  File "/usr/local/Cellar/todoman/1.7.0/libexec/lib/python3.5/site-packages/pip/utils/__init__.py", line 707, in call_subprocess
    % (command_desc, proc.returncode, cwd))
pip.exceptions.InstallationError: Command “python setup.py egg_info" failed with error code 1 in /private/tmp/pip-9ky1pxc1-build/

💁‍♂️

from todoman.

benjaminfrank avatar benjaminfrank commented on July 26, 2024

Didn't see this before and I had todoman installed via homebrew so I thought this already exists. but it seems it doesn't and I must have done so in some local Formula which I deleted since then.
But I took what @rnkn did, made it work and opened a PR Homebrew/homebrew-core#9080

from todoman.

WhyNotHugo avatar WhyNotHugo commented on July 26, 2024

@benjaminfrank Thanks a bunch! Out of curiosity, it creating one virtualenv per app common on macOS?

from todoman.

ilovezfs avatar ilovezfs commented on July 26, 2024

common on macOS

It's a Homebrew thing, not a macOS thing. See Homebrew/brew#344.

from todoman.

WhyNotHugo avatar WhyNotHugo commented on July 26, 2024

Yes, sorry, that's what I meant, thanks.

from todoman.

WhyNotHugo avatar WhyNotHugo commented on July 26, 2024

Closed via upstream Homebrew/homebrew-core#9080.

from todoman.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.