-
Notifications
You must be signed in to change notification settings - Fork 28
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
relic hook makes offline installation tricky #175
Comments
@shanosborne see above from Alden. Is |
I am actually no longer a developer on pysiaf, so I'll pass this issue off to the new developer @mfixstsci |
Hey All, I can take a look it this afternoon. |
I think this was also solved with Issue #231 , but I'll test it before we close this. |
This block in
setup.py
:makes it tricky to install
pysiaf
in an offline environment.relic
is required during package installation, but is not otherwise declared as a dependency anywhere. If you don't do anything special, it will try to go down thegit clone
path, which is of course not possible without internet access.There are sort of two related issues in here: First, when collecting a set of requirements in your online environment for later deployment,
relic
will not be collected automatically. Second, even if you have a wheel forrelic
,pip
doesn't know it needs to install to installrelic
before it can installpysiaf
.I believe this is an example of the problem the build system requirements section of
pyproject.toml
was intended to solve. Ifpysiaf
had apyproject.toml
, it could readwhich I think would cue
pip
to do the right thing. However, I unfortunately I haven't worked on a project that usespyproject.toml
or migrated my own to it, so I'm not 100% sure on how that works, or if any other changes tosetup.py
or requirements declaration would be needed.I've worked around the issue in my particular application by explicitly added
relic
to my set of up requirements, and doing a firstpip install
pass forsetuptools wheel relic
, but it took a little exploration to understand the issue.@mperrin, FYI, this indirectly impacts offline installation of
webbpsf
through thepysiaf
dependency, which is what got me here. Fortunately the workaround isn't too hard.The text was updated successfully, but these errors were encountered: