Giter VIP home page Giter VIP logo

Comments (8)

moorepants avatar moorepants commented on June 3, 2024

On linux a much more complicated script is generated:

moorepants@garuda:~$ cat /home/moorepants/miniconda3/bin/skijumpdesign 
#!/home/moorepants/miniconda3/bin/python
# EASY-INSTALL-ENTRY-SCRIPT: 'skijumpdesign==1.1.3','console_scripts','skijumpdesign'
__requires__ = 'skijumpdesign==1.1.3'
import re
import sys
from pkg_resources import load_entry_point

if __name__ == '__main__':
    sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0])
    sys.exit(
        load_entry_point('skijumpdesign==1.1.3', 'console_scripts', 'skijumpdesign')()
    )

from skijumpdesign-feedstock.

moorepants avatar moorepants commented on June 3, 2024

I updated to skijumpdesign 1.2.0 on linux which now uses the conda generated entry points and it creates:

moorepants@garuda:~$ cat /home/moorepants/miniconda3/bin/skijumpdesign 
#!/home/moorepants/miniconda3/bin/python3.5
# -*- coding: utf-8 -*-
import re
import sys

from skijumpdesignapp import app

if __name__ == '__main__':
    sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0])
    sys.exit(app.run_server())

from skijumpdesign-feedstock.

moorepants avatar moorepants commented on June 3, 2024

@isuruf Do you know why conda-build seems to generate incorrect syntax for python entry point?

from skijumpdesign-feedstock.

isuruf avatar isuruf commented on June 3, 2024

Please update the issue with "Details about conda and system". I need them to figure out why.

from skijumpdesign-feedstock.

yumberry avatar yumberry commented on June 3, 2024

done

from skijumpdesign-feedstock.

isuruf avatar isuruf commented on June 3, 2024

Your conda version seems recent enough. Did you update conda after installing this package? If so, can you try removing and reinstalling skijumpdesign?

from skijumpdesign-feedstock.

moorepants avatar moorepants commented on June 3, 2024

Yes, I will, but it won't be for another 10 hours or so. The mac is my wife's and is at home. Will report back.

from skijumpdesign-feedstock.

moorepants avatar moorepants commented on June 3, 2024

I removed and reninstalled and it worked. A valid python file was generated. Thanks. Maybe the previous one was somehow generated via and older conda version.

from skijumpdesign-feedstock.

Related Issues (5)

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.