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

Improve Installation Process #74

Open
jrg94 opened this issue May 13, 2020 · 2 comments
Open

Improve Installation Process #74

jrg94 opened this issue May 13, 2020 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@jrg94
Copy link
Member

jrg94 commented May 13, 2020

As much as I love using pip, the main issue right now is adoption. Most folks aren't going to go out of their way to install the required dependencies: they'll just use something else.

As I stated in #63, I want to be able to at least provide Windows support for this application. That way, we can provide an EXE or MSI installer, so users can quickly install the tool and get all the dependencies (mainly Python 3.8) in one go. In addition, I want to be able to provide a shortcut to the script, so folks don't have to use the command line to launch up our application.

That said, I'm having a incredibly frustrating time trying to put this together. I had assumed that setuptools would support something like this natively, but it doesn't. The closest I can get is the bdist command which lets me generate an MSI. I figured at that point all I'd need to do is hook in some shortcut script, but it's proving to be a huge pain in the ass.

At this point, I've tried a command that looks something like this: py setup.py bdist --target-version 3.8 --install-script winstall.py. Unfortunately, what I'm finding is that this MSI can't find Python 3.8 on my system (because it's 32-bit?), so I can't even test it. What's worse is that even when I install things locally, the install script doesn't seem to execute at all. I'm totally lost and documentation is complete trash.

As a result, I decided to try pivoting to a different installer. I figured the least I could do is try to package this program separately for Windows users, but it seems no one is supporting 3.8 yet (See pyinstaller/pyinstaller#4311). So, I'm sort of stuck for the time being.

@jrg94 jrg94 self-assigned this May 13, 2020
@jrg94 jrg94 added the enhancement New feature or request label May 13, 2020
@jrg94
Copy link
Member Author

jrg94 commented May 13, 2020

Alright, I'm trying to use cxfreeze, but it's not working. The command line interface crashes, so I tried created a setup file which is also crashing.

@jrg94
Copy link
Member Author

jrg94 commented May 13, 2020

Gonna half to hold off on this, I think. I don't want to go through and remove the Python 3.8+ restriction if I'm just gonna get screwed by tools that don't work.

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

No branches or pull requests

1 participant