Hacker News story: Ask HN: How do you distribute your personal utility library?

Ask HN: How do you distribute your personal utility library?
Pretty much every developer ends up with a utility library of various functions in their language of choice. How do you distribute yours when it's used by multiple personal open source projects? I'm working in Python and would like to just distribute a package to pypi but feel as though I would be polluting the repo with personal code that wouldn't be useful to a wide audience. An alternative I considered is a git submodule, but that makes it hard to version since submodules will track HEAD by default, and that obviously also forces a git dependency when I prefer to use hg. 1 comments on Hacker News.
Pretty much every developer ends up with a utility library of various functions in their language of choice. How do you distribute yours when it's used by multiple personal open source projects? I'm working in Python and would like to just distribute a package to pypi but feel as though I would be polluting the repo with personal code that wouldn't be useful to a wide audience. An alternative I considered is a git submodule, but that makes it hard to version since submodules will track HEAD by default, and that obviously also forces a git dependency when I prefer to use hg.

Hacker News story: Ask HN: How do you distribute your personal utility library? Hacker News story: Ask HN: How do you distribute your personal utility library? Reviewed by Tha Kur on March 02, 2018 Rating: 5

No comments:

Powered by Blogger.