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

system-wide startup files and env config #10644

Merged
merged 3 commits into from Jun 9, 2017

Conversation

Projects
None yet
3 participants
@minrk
Member

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 some commits Jun 7, 2017

allow startup files in system-wide config dirs
allows creating `/etc/ipython/startup/everybody.py`

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

This comment has been minimized.

Show comment
Hide comment
@Carreau

Carreau Jun 7, 2017

Member

Do you wish a backport to 5.x ?

Member

Carreau commented Jun 7, 2017

Do you wish a backport to 5.x ?

@Carreau

Carreau approved these changes Jun 7, 2017

@minrk

This comment has been minimized.

Show comment
Hide comment
@minrk

minrk Jun 8, 2017

Member

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.

Member

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

4 checks passed

codecov/patch 63.63% of diff hit (target 0%)
Details
codecov/project 66.92% (+0.01%) compared to 3eeab3c
Details
continuous-integration/appveyor/pr AppVeyor build succeeded
Details
continuous-integration/travis-ci/pr The Travis CI build passed
Details
@Carreau

This comment has been minimized.

Show comment
Hide comment
@Carreau

Carreau Jun 9, 2017

Member

@meeseeksdev backport

Member

Carreau commented Jun 9, 2017

@meeseeksdev backport

meeseeksdev bot pushed a commit that referenced this pull request Jun 9, 2017

Backport PR #10644: system-wide startup files and env config
- 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 label Jul 20, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment