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

setup.py commands not found #453

Closed
venomega opened this issue Dec 13, 2020 · 2 comments
Closed

setup.py commands not found #453

venomega opened this issue Dec 13, 2020 · 2 comments
Labels
bug A crash or error in behavior.

Comments

@venomega
Copy link

please what am i doing wrong
i just create a default project with
briefcase new
cd helloworld
briefcase create android
an it says
Template does not support 3.9

and if i do
cookiecutter https://github.com/pybee/briefcase-template
cd helloworld
python setup.py android -s
it says

usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
   or: setup.py --help [cmd1 cmd2 ...]
   or: setup.py --help-commands
   or: setup.py cmd --help

error: invalid command 'android'

does not work for any command writed inside setup.py
To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Environment:

  • Operating System:
  • Python version:
  • Software versions:
    • Briefcase:
    • Toga:
    • ...

Additional context
Add any other context about the problem here.

@venomega venomega added the bug A crash or error in behavior. label Dec 13, 2020
@venomega
Copy link
Author

im using archlinux, i have create an new rootfs an install everything inside that rootfs, i tried with venv too and does not work, say same errors

@freakboy3742
Copy link
Member

After you ran briefcase new, you received an error message "Template does not support 3.9".

That's the cause of the problem. Briefcase requires binary components, and we haven't prepared those components for Python 3.9. If you use Python 3.8 or earlier, you won't get that error.

The subsequent error about "setup.py not found" is an error of usage; you've cloned an old version of the template, which didn't support Android.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug A crash or error in behavior.
Projects
None yet
Development

No branches or pull requests

2 participants