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

Include dependencies from github #186

Open
geraore opened this issue Oct 8, 2019 · 3 comments
Open

Include dependencies from github #186

geraore opened this issue Oct 8, 2019 · 3 comments

Comments

@geraore
Copy link

geraore commented Oct 8, 2019

Hello all,

I'm trying to build my project with pynist, however, I have dependencies from github, so I was trying to build this adding it to such as: extra_wheel_sources= git+https://github.com/geraore/aw-client.git, so I'm getting the error that the system can not find the specific path.

The question is how to add github to the requirements?.

Regards

@geraore geraore changed the title Include dependencies in github Include dependencies from github Oct 8, 2019
@takluyver
Copy link
Owner

Hi @geraore - at present dependencies for Pynsist have to come from either

  • Wheels on PyPI
  • Wheels on your local filesystem
  • Importable packages on your local Python system (not really recommended any more)

So if you don't want to put your package on PyPI, you can script building a wheel from it, putting that somewhere Pynsist can see, and then using either the local_wheels option pointing to the file, or extra_wheel_sources pointing to the folder it's in.

@geraore
Copy link
Author

geraore commented Oct 8, 2019

Hi @takluyver thank you for your quick response, I made the wheel files, however I can not find specific examples on how to add the extra_wheel_sources

I can compile and create the installer, however the wheels are not added to the installer. As example my installer is in G:\Mi unidad\Indurama\proyectos\manejo licenciamiento\fuentes\aw-watcher-window and I have tried the following:

extra_wheel_sources= "G:\Mi unidad\Indurama\proyectos\manejo licenciamiento\fuentes\aw-watcher-window\wheels"

extra_wheel_sources= G:\Mi unidad\Indurama\proyectos\manejo licenciamiento\fuentes\aw-watcher-window\wheels

extra_wheel_sources= ./wheels

None of the above have installed the extra wheel files

@takluyver
Copy link
Owner

extra_wheel_sources points to a directory to look in for wheels - you still need to tell it which wheels to include:

pypi_wheels = aw-client==0.3
extra_wheel_sources=wheels/

See the docs - I think they're fairly clear, though they don't have an example of this. Unfortunately the naming of pypi_wheels is a bit misleading (obviously when I chose the name it only got wheels from PyPI).

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

No branches or pull requests

2 participants