Skip to content

system-wide startup files and env config #10644

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

Merged
merged 3 commits into from
Jun 9, 2017
Merged

Conversation

minrk
Copy link
Member

@minrk minrk commented Jun 7, 2017

  • adds {sys.prefix}/etc/ipython to config-file path, which is commonly used for Jupyter applications in envs
  • support startup files in system-wide config directories (e.g. /etc/ipython/startup, now {sys.prefix}/etc/ipython/startup)

minrk added 2 commits June 7, 2017 16:52
allows creating `/etc/ipython/startup/everybody.py`

as a startup file for all IPython users on a system
@Carreau
Copy link
Member

Carreau commented Jun 7, 2017

Do you wish a backport to 5.x ?

@minrk
Copy link
Member Author

minrk commented Jun 8, 2017

Either way. It's a new feature, so we don't have to, but it's also small and simple, so shouldn't be a problem. I guess I'd be for backport unless someone thinks we shouldn't.

@takluyver takluyver added this to the 5.5 milestone Jun 8, 2017
@Carreau Carreau merged commit 2118e16 into ipython:master Jun 9, 2017
@Carreau
Copy link
Member

Carreau commented Jun 9, 2017

@meeseeksdev backport

lumberbot-app bot pushed a commit that referenced this pull request Jun 9, 2017
- adds `{sys.prefix}/etc/ipython` to config-file path, which is commonly used for Jupyter applications in envs
- support startup files in system-wide config directories (e.g. `/etc/ipython/startup`, now `{sys.prefix}/etc/ipython/startup`)
Carreau added a commit that referenced this pull request Jun 9, 2017
@Carreau Carreau added the backported PR that have been backported by MrMeeseeks label Jul 20, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backported PR that have been backported by MrMeeseeks
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants