Brad Buran
2018-10-03 20:39:42 UTC
I've been testing the constructor for creating some installers to simplify
the process for end-users. I'm using https://github.com/bburan/abr as my
test-case. I am able to successfully build a conda package using the
attached meta.yaml file. I then create a new environment with this package:
conda create --name abr-test --use-local abr
Then, I activate this environment:
conda activate abr-test
Once activated, I have access to the two entry points (which show up in
miniconda3/envs/abr-test/bin):
abr_gui
abr_loop
Now, the next step is to create an installer that installs a self-contained
version of Python on other computers. Using the attached construct.yaml
file, I am able to successfully build the installer and run it. However,
abr_gui and abr_loop are missing from ~/abr-analysis/bin (where the
installer saved the files)! If I CD to ~/abr-analysis/bin and start the
python interpreter, e.g.:
# in terminal
cd ~/abr-analysis/bin
./python
# inside python
from abr.app import cmd_main
cmd_main.main()
This successfully opens the GUI. So, given that my conda package works just
fine and creates an abr_gui and abr_loop entry-points when creating a new
conda environment, why are they missing from the bin folder in the
installer? Am I missing something obvious?
Thank you!
Brad
the process for end-users. I'm using https://github.com/bburan/abr as my
test-case. I am able to successfully build a conda package using the
attached meta.yaml file. I then create a new environment with this package:
conda create --name abr-test --use-local abr
Then, I activate this environment:
conda activate abr-test
Once activated, I have access to the two entry points (which show up in
miniconda3/envs/abr-test/bin):
abr_gui
abr_loop
Now, the next step is to create an installer that installs a self-contained
version of Python on other computers. Using the attached construct.yaml
file, I am able to successfully build the installer and run it. However,
abr_gui and abr_loop are missing from ~/abr-analysis/bin (where the
installer saved the files)! If I CD to ~/abr-analysis/bin and start the
python interpreter, e.g.:
# in terminal
cd ~/abr-analysis/bin
./python
# inside python
from abr.app import cmd_main
cmd_main.main()
This successfully opens the GUI. So, given that my conda package works just
fine and creates an abr_gui and abr_loop entry-points when creating a new
conda environment, why are they missing from the bin folder in the
installer? Am I missing something obvious?
Thank you!
Brad
--
You received this message because you are subscribed to the Google Groups "conda - Public" group.
To unsubscribe from this group and stop receiving emails from it, send an email to conda+***@continuum.io.
To post to this group, send email to ***@continuum.io.
Visit this group at https://groups.google.com/a/continuum.io/group/conda/.
To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/conda/89617bc6-7f6b-4321-84a3-f3974b617ec6%40continuum.io.
For more options, visit https://groups.google.com/a/continuum.io/d/optout.
You received this message because you are subscribed to the Google Groups "conda - Public" group.
To unsubscribe from this group and stop receiving emails from it, send an email to conda+***@continuum.io.
To post to this group, send email to ***@continuum.io.
Visit this group at https://groups.google.com/a/continuum.io/group/conda/.
To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/conda/89617bc6-7f6b-4321-84a3-f3974b617ec6%40continuum.io.
For more options, visit https://groups.google.com/a/continuum.io/d/optout.