Skip to content
This repository has been archived by the owner on Dec 16, 2022. It is now read-only.

allow instrument package installation by pip #162

Closed
prjemian opened this issue Jun 6, 2020 · 3 comments
Closed

allow instrument package installation by pip #162

prjemian opened this issue Jun 6, 2020 · 3 comments
Assignees
Labels
enhancement New feature or request wontfix This will not be worked on

Comments

@prjemian
Copy link
Collaborator

prjemian commented Jun 6, 2020

Make it easier to use the same instrument package in both IPython console sessions and Jupyter notebooks (includes Jupyterlab). Refactor into an instrument package that can be installed locally via pip.

pip install -e .

This will install the package and allow local modifications of the source files to be used right away. (Modification of content in this package usually means a restart of the ipython session or restart of the jupyter kernel will be necessary to begin using the modification.)

Then, whether in console or notebook, from instrument.collection import * will load the instrument configuration without need to start in a special directory or modify the sys.path.

NOTE: This will change the structure of the repository from an ipython profile to an installable Python package.

relates to #148 and #151, see example: https://github.com/prjemian/ipython-poof/blob/master/README.md

@prjemian prjemian added the enhancement New feature or request label Jun 6, 2020
@prjemian prjemian added this to the 2020-remote operations milestone Jun 6, 2020
@prjemian prjemian self-assigned this Jun 6, 2020
@prjemian
Copy link
Collaborator Author

prjemian commented Jun 6, 2020

This issue should also consider and describe what will happen with the user and spec_support directories.

@prjemian
Copy link
Collaborator Author

prjemian commented Jun 8, 2020

Needs some thought because of these two directories. Won't happen in time for operations to start this week. Moving to later milestone.

@prjemian prjemian removed this from the 2020-remote operations milestone Jun 8, 2020
@prjemian prjemian added the wontfix This will not be worked on label Sep 22, 2020
@prjemian
Copy link
Collaborator Author

This is working for the instrument as-is now. A change would introduce confusion, at least at first and is not absolutely necessary. Will not implement this change.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

1 participant