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

system-wide startup files and env config #10644

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 minrk force-pushed the minrk:env-config branch from a89681e to b6f1a23 Jun 7, 2017
minrk added 2 commits Jun 7, 2017
allows creating `/etc/ipython/startup/everybody.py`

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

@Carreau Carreau commented Jun 7, 2017

Do you wish a backport to 5.x ?

@Carreau
Carreau approved these changes Jun 7, 2017
@minrk
Copy link
Member Author

@minrk 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
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
Copy link
Member

@Carreau Carreau commented Jun 9, 2017

@meeseeksdev backport

meeseeksdev 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
Backport PR #10644 on branch 5.x
@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
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

3 participants
You can’t perform that action at this time.