Skip to content
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

Linux support #2

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from
Draft

Conversation

fpdotmonkey
Copy link

This PR does 2 thing, which can be accepted or rejected separately. The first adds Linux support and the second moves all code into a single source. The second is only necessary because I couldn't get a build that didn't give a ModuleNotFoundError on the b3denv package. This may be because of how I'm invoking pyinstaller, although I'm following the instructions in the README.

Commit 1:

Add linux support

Add paths and scripting for to support operation on linux.

I wasn't able to get this to build, but it seems it's some issue with
how I'm invoking pyinstaller. As a follow-on to this, I'll add a commit
that moves a couple things around to allow the build to succeed which
can be considered separately from this one.

Commit 2:

Move the package into a single file

I was having issues with building on linux. If my issue was actually
that I am using pyinstaller wrong, then this commit shouldn't be
accepted.

This observes that the package was previous three files:

  • /b3denv.py, which just calls main() from b3denv.main
  • /b3denv/main.py, which just calls main() from b3denv.init
  • /b3denv/init.py, which defines all the logic (and incidentally
    also calls main())

That there's only one file that does more than call main() suggests that
this should actually be a single-source project. This commit implements
that.

Add paths and scripting for to support operation on linux.

I wasn't able to get this to build, but it seems it's some issue with
how I'm invoking pyinstaller.  As a follow-on to this, I'll add a commit
that moves a couple things around to allow the build to succeed which
can be considered separately from this one.
I was having issues with building on linux.  If my issue was actually
that I am using pyinstaller wrong, then this commit shouldn't be
accepted.

This observes that the package was previous three files:
- /b3denv.py, which just calls main() from b3denv.__main__
- /b3denv/__main__.py, which just calls main() from b3denv.__init__
- /b3denv/__init__.py, which defines all the logic (and incidentally
  also calls main())

That there's only one file that does more than call main() suggests that
this should actually be a single-source project.  This commit implements
that.
@fpdotmonkey fpdotmonkey marked this pull request as draft March 20, 2024 21:15
@fpdotmonkey
Copy link
Author

Sorry I found an issue where a a plugin made with this doesn't work that I need to investigate.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant