Git Product home page Git Product logo

Comments (8)

Cerise1 avatar Cerise1 commented on June 18, 2024

Hi Svan

Did you find a solution to this problem cause i have the exact same problem with python setup.py ios command ..
Thanks

from briefcase.

freakboy3742 avatar freakboy3742 commented on June 18, 2024

@Cerise1 - If you've installed recently, you might have been caught by a recent update - I've renamed "osx" to "macos" to reflect Apple's own renaming of the platform.

You may also have problems if you've installed via python setup.py install, rather than pip install.

Let me know if either of these correct the problem for you. Leaving this open as a marker to update the docs to say "macos", not "osx"

from briefcase.

Cerise1 avatar Cerise1 commented on June 18, 2024

hi freakboy, thanks for your quick reply !

My problem was not with the osx command but with the iOS command cause i try to create an application for ios !

And yes i ve installed briefcase with pip install briefcase !

when i try the command i got :

python setup.py ios
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 'ios'

and when i try python setup.py --help-commands it shows only some native commands like build sdist etc ...

from briefcase.

freakboy3742 avatar freakboy3742 commented on June 18, 2024

Ah - another option: What version of setuptools do you have installed? Older versions are known to have some problems installing distutils hooks. Try the following:

pip uninstall briefcase
pip install --upgrade setuptools
pip install briefcase

from briefcase.

Cerise1 avatar Cerise1 commented on June 18, 2024

hum pip gave me an error so i upgraded with easy-install and it worked !

But then exact same error with ios macos or android !

to make sure i am not wrong on the procedure :
i have a directory on my linux distro with a main.py file wich lauch a python script wich works well if i run pyhton main.pyon the terminal . I have also created a setup.py file as described in the briefcase readme on the same directory.
Then i go on the terminal cd to the directory and run python setup.py ios
then i get the error :(

from briefcase.

marcmolla avatar marcmolla commented on June 18, 2024

I had the same error because I was using distutils.core instead of setuptools setup, which is required for handling the iOS, macos and android entry points.

from briefcase.

freakboy3742 avatar freakboy3742 commented on June 18, 2024

I'm guessing this means we should add setuptools>=27.0 as an install_requires entry. We should probably update the pip requirement to pip>=8.1 while we're at it.

from briefcase.

freakboy3742 avatar freakboy3742 commented on June 18, 2024

Fixed by #18

from briefcase.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.