My setup.py does not work

0

My setup.py does not work for me. When I execute it at a command prompt it says:

error:no commands supplied .

Here I leave the code:

# -*- coding: utf-8 -*-

from distutils.core import setup 
import py2exe 

setup(name="Vivete", 
 version="1.0", 


 author_email="email del autor", 
 url="url del proyecto", 

 scripts=["Vivete.py"], 
 console=["Vivete.py"], 
 options={"py2exe": {"bundle_files": 1}}, 
 zipfile=None,
)

Any suggestions I appreciate.

    
asked by ger 21.06.2017 в 00:16
source

1 answer

0

I think what fails you is that you do not set the parameter. Try putting "py2exe" next to it, that is:

  

setup.py py2exe

    
answered by 02.04.2018 в 19:13