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

Make PyLATO a python executable #12

Open
4 tasks
mec07 opened this issue Nov 30, 2018 · 1 comment
Open
4 tasks

Make PyLATO a python executable #12

mec07 opened this issue Nov 30, 2018 · 1 comment

Comments

@mec07
Copy link
Owner

mec07 commented Nov 30, 2018

  • Move models folder to sit within pylato folder
  • I think to make it installable and runnable you usually use pyinstaller -- need to check this
  • Upload to pypi
  • Do pip install pylato and test that you can then just run pylato like an executable for a given job specification file
@cakemanny
Copy link

I've not heard of pyinstaller but I can't imagine you need it (maybe it was a solution when people used distutils)
Because you are using setuptools you can just add an entry_points section to your setup.py
https://setuptools.readthedocs.io/en/latest/setuptools.html#automatic-script-creation
just needing one entry in console_scripts

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

No branches or pull requests

2 participants