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

Compile with multiple .py files and requirements.txt #1394

Closed
lasupernova opened this issue Jan 8, 2022 · 4 comments
Closed

Compile with multiple .py files and requirements.txt #1394

lasupernova opened this issue Jan 8, 2022 · 4 comments
Labels

Comments

@lasupernova
Copy link

Hi, I have two issues that I can't find information for in the documentation.

The first one is: I have a main.py and corresponding .kv file. Additionally, I have multiple .py files that are imported by main.py (helper functions, that are imported to main.py via from xyz import abc. How can I include these files when compiling?

My second issue is regarding the dependencies and virtual environments. I have been running my app from a virtualenv, on which I pip installed all necessary dependencies (saved in requirements.txt). How can I include the virtualenv or the requirements.txt file in when I compile?

Thanks in advance for your time and help :)

@RobertFlatt
Copy link
Contributor

  1. Leave them where they are.
  2. https://github.com/Android-for-Python/Android-for-Python-Users#requirements

This forum is for development issues
Please address usage questions to the user groups
https://discord.gg/UQfFmgjQ
https://groups.google.com/g/kivy-users

@WojtekMs
Copy link

I would like to ask a complementary question about the first issue. What if those multiple .py files that are imported by main.py are kept inside a sub-directory? Could you please provide some insight how to include these files when compiling to android APK using buildozer?

@RobertFlatt
Copy link
Contributor

Leave them where they are.

@github-actions
Copy link

👋 @lasupernova, we use the issue tracker exclusively for bug reports and feature requests. However, this issue appears to be a support request. Please use our support channels to get help with the project.
Let us know if this comment was made in error, and we'll be happy to reopen the issue.

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

No branches or pull requests

4 participants