-
Notifications
You must be signed in to change notification settings - Fork 186
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Reducing the number of dependencies #601
Comments
I have a WIP branch that changes over to Poetry which addresses much of this. I'll try to send in a PR soon. |
poetry is definitely the way forward; I think that a more condensed list of dependencies is in I'll try to take a look at 587 again soon. I'm not sure Federico is has looked at it in a bit, so I'll maybe try to write some tests for it/try it out a bit so it can get in and remove that for now that does at least cut the install requirements down to: |
That all sounds great, thanks Ian! 👍 I have a working Homebrew Formula, which passes All of the dependencies have a Source Distribution (.tar.gz) on PyPi apart from pypubsub, which I have asked for here: An optimisation would be to not install Oh and it would be good to clarify the license (#582), which I currently have listed as |
added an issue for the poetry stuff #604. |
I've merged the removal of As far as licensing, I don't think Apache2 is an inaccurate license to use since we haven't really done a proper formal relicensing, but GPL3 is probably the more future-proof choice. The idea, as I was told, is that this is largely the only Meshtastic thing that's not already GPL3, so the intent has been to move it over to that, which should be a compatible relicensing as far as I can tell (IANAL, of course, and if anyone knows a reason it's not, please do let us know). I'd love to set it up so |
Apache > GPL3 is fine, the other way is potentially an issue. https://www.apache.org/licenses/GPL-compatibility.html#:~:text=Apache%202%20software%20can%20therefore,be%20included%20in%20Apache%20projects. |
just did it for debian, but also need it with brew on macOS: https://ftp-master.debian.org/new/meshtastic_2.3.12-1.html |
I have been looking at packaging the meshtastic CLI, so that it can easily be installed using
brew install meshtastic
on a Mac.There are a lot of dependencies listed in
requirements.txt
, although many of them are just needed for testing.In #587, @FedericoCeratto has been looking at reducing the number of dependencies by removing timeago, which seems like a good idea to me.
pexpect is listed in both
setup.py
andrequirements.txt
and but doesn't seem to be being used anywhere? Maybe I am missing something? Can it be removed?There two are listed in
requirements.txt
but don't seem to be being used, however I can see why they might be useful:webencodings
pyparsing
And maybe they are an optional extra for one of the other dependencies?
The text was updated successfully, but these errors were encountered: