Show More
@@ -0,0 +1,33 b'' | |||||
|
1 | BSD 3-Clause License | |||
|
2 | ||||
|
3 | - Copyright (c) 2008-Present, IPython Development Team | |||
|
4 | - Copyright (c) 2001-2007, Fernando Perez <fernando.perez@colorado.edu> | |||
|
5 | - Copyright (c) 2001, Janko Hauser <jhauser@zscout.de> | |||
|
6 | - Copyright (c) 2001, Nathaniel Gray <n8gray@caltech.edu> | |||
|
7 | ||||
|
8 | All rights reserved. | |||
|
9 | ||||
|
10 | Redistribution and use in source and binary forms, with or without | |||
|
11 | modification, are permitted provided that the following conditions are met: | |||
|
12 | ||||
|
13 | * Redistributions of source code must retain the above copyright notice, this | |||
|
14 | list of conditions and the following disclaimer. | |||
|
15 | ||||
|
16 | * Redistributions in binary form must reproduce the above copyright notice, | |||
|
17 | this list of conditions and the following disclaimer in the documentation | |||
|
18 | and/or other materials provided with the distribution. | |||
|
19 | ||||
|
20 | * Neither the name of the copyright holder nor the names of its | |||
|
21 | contributors may be used to endorse or promote products derived from | |||
|
22 | this software without specific prior written permission. | |||
|
23 | ||||
|
24 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" | |||
|
25 | AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE | |||
|
26 | IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE | |||
|
27 | DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE | |||
|
28 | FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL | |||
|
29 | DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR | |||
|
30 | SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER | |||
|
31 | CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, | |||
|
32 | OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | |||
|
33 | OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
@@ -1,53 +1,54 b'' | |||||
1 | # http://travis-ci.org/#!/ipython/ipython |
|
1 | # http://travis-ci.org/#!/ipython/ipython | |
2 | language: python |
|
2 | language: python | |
3 | python: |
|
3 | python: | |
4 | - "nightly" |
|
4 | - "nightly" | |
5 | - 3.6 |
|
5 | - 3.6 | |
6 | - 3.5 |
|
6 | - 3.5 | |
7 | - 3.4 |
|
7 | - 3.4 | |
8 | sudo: false |
|
8 | sudo: false | |
9 | env: |
|
9 | env: | |
10 | global: |
|
10 | global: | |
11 | - PATH=$TRAVIS_BUILD_DIR/pandoc:$PATH |
|
11 | - PATH=$TRAVIS_BUILD_DIR/pandoc:$PATH | |
12 | group: edge |
|
12 | group: edge | |
13 | before_install: |
|
13 | before_install: | |
14 | - 'if [[ $GROUP != js* ]]; then COVERAGE=""; fi' |
|
14 | - 'if [[ $GROUP != js* ]]; then COVERAGE=""; fi' | |
15 | install: |
|
15 | install: | |
16 | - pip install setuptools pip --upgrade |
|
16 | - pip install setuptools pip --upgrade | |
17 | - pip install -e file://$PWD#egg=ipython[test] --upgrade |
|
17 | - pip install -e file://$PWD#egg=ipython[test] --upgrade | |
18 | - pip install codecov --upgrade |
|
18 | - pip install codecov check-manifest --upgrade | |
19 | - sudo apt-get install graphviz |
|
19 | - sudo apt-get install graphviz | |
20 | script: |
|
20 | script: | |
|
21 | - check-manifest | |||
21 | - cd /tmp && iptest --coverage xml && cd - |
|
22 | - cd /tmp && iptest --coverage xml && cd - | |
22 | # On the latest Python only, make sure that the docs build. |
|
23 | # On the latest Python only, make sure that the docs build. | |
23 | - | |
|
24 | - | | |
24 | if [[ "$TRAVIS_PYTHON_VERSION" == "3.6" ]]; then |
|
25 | if [[ "$TRAVIS_PYTHON_VERSION" == "3.6" ]]; then | |
25 | pip install -r docs/requirements.txt |
|
26 | pip install -r docs/requirements.txt | |
26 | make -C docs/ html SPHINXOPTS="-W" |
|
27 | make -C docs/ html SPHINXOPTS="-W" | |
27 | fi |
|
28 | fi | |
28 | after_success: |
|
29 | after_success: | |
29 | - cp /tmp/ipy_coverage.xml ./ |
|
30 | - cp /tmp/ipy_coverage.xml ./ | |
30 | - cp /tmp/.coverage ./ |
|
31 | - cp /tmp/.coverage ./ | |
31 | - codecov |
|
32 | - codecov | |
32 |
|
33 | |||
33 | matrix: |
|
34 | matrix: | |
34 | allow_failures: |
|
35 | allow_failures: | |
35 | - python: nightly |
|
36 | - python: nightly | |
36 |
|
37 | |||
37 | before_deploy: |
|
38 | before_deploy: | |
38 | - rm -rf dist/ |
|
39 | - rm -rf dist/ | |
39 | - python setup.py sdist |
|
40 | - python setup.py sdist | |
40 | - python setup.py bdist_wheel |
|
41 | - python setup.py bdist_wheel | |
41 |
|
42 | |||
42 | deploy: |
|
43 | deploy: | |
43 | provider: releases |
|
44 | provider: releases | |
44 | api_key: |
|
45 | api_key: | |
45 | secure: Y/Ae9tYs5aoBU8bDjN2YrwGG6tCbezj/h3Lcmtx8HQavSbBgXnhnZVRb2snOKD7auqnqjfT/7QMm4ZyKvaOEgyggGktKqEKYHC8KOZ7yp8I5/UMDtk6j9TnXpSqqBxPiud4MDV76SfRYEQiaDoG4tGGvSfPJ9KcNjKrNvSyyxns= |
|
46 | secure: Y/Ae9tYs5aoBU8bDjN2YrwGG6tCbezj/h3Lcmtx8HQavSbBgXnhnZVRb2snOKD7auqnqjfT/7QMm4ZyKvaOEgyggGktKqEKYHC8KOZ7yp8I5/UMDtk6j9TnXpSqqBxPiud4MDV76SfRYEQiaDoG4tGGvSfPJ9KcNjKrNvSyyxns= | |
46 | file: dist/* |
|
47 | file: dist/* | |
47 | file_glob: true |
|
48 | file_glob: true | |
48 | skip_cleanup: true |
|
49 | skip_cleanup: true | |
49 | on: |
|
50 | on: | |
50 | repo: ipython/ipython |
|
51 | repo: ipython/ipython | |
51 | all_branches: true # Backports are released from e.g. 5.x branch |
|
52 | all_branches: true # Backports are released from e.g. 5.x branch | |
52 | tags: true |
|
53 | tags: true | |
53 | python: 3.6 # Any version should work, but we only need one |
|
54 | python: 3.6 # Any version should work, but we only need one |
@@ -1,74 +1,41 b'' | |||||
1 | ============================= |
|
1 | ============================= | |
2 | The IPython licensing terms |
|
2 | The IPython licensing terms | |
3 | ============================= |
|
3 | ============================= | |
4 |
|
4 | |||
5 | IPython is licensed under the terms of the Modified BSD License (also known as |
|
5 | IPython is licensed under the terms of the Modified BSD License (also known as | |
6 |
New or Revised or 3-Clause BSD) |
|
6 | New or Revised or 3-Clause BSD). See the LICENSE file. | |
7 |
|
7 | |||
8 | - Copyright (c) 2008-2014, IPython Development Team |
|
|||
9 | - Copyright (c) 2001-2007, Fernando Perez <fernando.perez@colorado.edu> |
|
|||
10 | - Copyright (c) 2001, Janko Hauser <jhauser@zscout.de> |
|
|||
11 | - Copyright (c) 2001, Nathaniel Gray <n8gray@caltech.edu> |
|
|||
12 |
|
||||
13 | All rights reserved. |
|
|||
14 |
|
||||
15 | Redistribution and use in source and binary forms, with or without |
|
|||
16 | modification, are permitted provided that the following conditions are met: |
|
|||
17 |
|
||||
18 | Redistributions of source code must retain the above copyright notice, this |
|
|||
19 | list of conditions and the following disclaimer. |
|
|||
20 |
|
||||
21 | Redistributions in binary form must reproduce the above copyright notice, this |
|
|||
22 | list of conditions and the following disclaimer in the documentation and/or |
|
|||
23 | other materials provided with the distribution. |
|
|||
24 |
|
||||
25 | Neither the name of the IPython Development Team nor the names of its |
|
|||
26 | contributors may be used to endorse or promote products derived from this |
|
|||
27 | software without specific prior written permission. |
|
|||
28 |
|
||||
29 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND |
|
|||
30 | ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED |
|
|||
31 | WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE |
|
|||
32 | DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE |
|
|||
33 | FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL |
|
|||
34 | DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR |
|
|||
35 | SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER |
|
|||
36 | CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, |
|
|||
37 | OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
|
|||
38 | OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
|
|||
39 |
|
8 | |||
40 | About the IPython Development Team |
|
9 | About the IPython Development Team | |
41 | ---------------------------------- |
|
10 | ---------------------------------- | |
42 |
|
11 | |||
43 | Fernando Perez began IPython in 2001 based on code from Janko Hauser |
|
12 | Fernando Perez began IPython in 2001 based on code from Janko Hauser | |
44 | <jhauser@zscout.de> and Nathaniel Gray <n8gray@caltech.edu>. Fernando is still |
|
13 | <jhauser@zscout.de> and Nathaniel Gray <n8gray@caltech.edu>. Fernando is still | |
45 | the project lead. |
|
14 | the project lead. | |
46 |
|
15 | |||
47 | The IPython Development Team is the set of all contributors to the IPython |
|
16 | The IPython Development Team is the set of all contributors to the IPython | |
48 |
project. This includes all of the IPython subprojects. |
|
17 | project. This includes all of the IPython subprojects. | |
49 | details is kept in the documentation directory, in the file |
|
|||
50 | ``about/credits.txt``. |
|
|||
51 |
|
18 | |||
52 | The core team that coordinates development on GitHub can be found here: |
|
19 | The core team that coordinates development on GitHub can be found here: | |
53 | https://github.com/ipython/. |
|
20 | https://github.com/ipython/. | |
54 |
|
21 | |||
55 | Our Copyright Policy |
|
22 | Our Copyright Policy | |
56 | -------------------- |
|
23 | -------------------- | |
57 |
|
24 | |||
58 | IPython uses a shared copyright model. Each contributor maintains copyright |
|
25 | IPython uses a shared copyright model. Each contributor maintains copyright | |
59 | over their contributions to IPython. But, it is important to note that these |
|
26 | over their contributions to IPython. But, it is important to note that these | |
60 | contributions are typically only changes to the repositories. Thus, the IPython |
|
27 | contributions are typically only changes to the repositories. Thus, the IPython | |
61 | source code, in its entirety is not the copyright of any single person or |
|
28 | source code, in its entirety is not the copyright of any single person or | |
62 | institution. Instead, it is the collective copyright of the entire IPython |
|
29 | institution. Instead, it is the collective copyright of the entire IPython | |
63 | Development Team. If individual contributors want to maintain a record of what |
|
30 | Development Team. If individual contributors want to maintain a record of what | |
64 | changes/contributions they have specific copyright on, they should indicate |
|
31 | changes/contributions they have specific copyright on, they should indicate | |
65 | their copyright in the commit message of the change, when they commit the |
|
32 | their copyright in the commit message of the change, when they commit the | |
66 | change to one of the IPython repositories. |
|
33 | change to one of the IPython repositories. | |
67 |
|
34 | |||
68 | With this in mind, the following banner should be used in any source code file |
|
35 | With this in mind, the following banner should be used in any source code file | |
69 | to indicate the copyright and license terms: |
|
36 | to indicate the copyright and license terms: | |
70 |
|
37 | |||
71 | :: |
|
38 | :: | |
72 |
|
39 | |||
73 | # Copyright (c) IPython Development Team. |
|
40 | # Copyright (c) IPython Development Team. | |
74 | # Distributed under the terms of the Modified BSD License. |
|
41 | # Distributed under the terms of the Modified BSD License. |
@@ -1,36 +1,46 b'' | |||||
1 | include README.rst |
|
1 | include README.rst | |
2 | include COPYING.rst |
|
2 | include COPYING.rst | |
|
3 | include LICENSE | |||
3 | include setupbase.py |
|
4 | include setupbase.py | |
4 | include setupegg.py |
|
5 | include setupegg.py | |
|
6 | include MANIFEST.in | |||
|
7 | include tox.ini | |||
|
8 | include .mailmap | |||
|
9 | ||||
|
10 | recursive-exclude tools * | |||
|
11 | exclude tools | |||
|
12 | exclude CONTRIBUTING.md | |||
|
13 | exclude .editorconfig | |||
5 |
|
14 | |||
6 | graft setupext |
|
15 | graft setupext | |
7 |
|
16 | |||
8 | graft scripts |
|
17 | graft scripts | |
9 |
|
18 | |||
10 | # Load main dir but exclude things we don't want in the distro |
|
19 | # Load main dir but exclude things we don't want in the distro | |
11 | graft IPython |
|
20 | graft IPython | |
12 |
|
21 | |||
13 | # Include some specific files and data resources we need |
|
22 | # Include some specific files and data resources we need | |
14 | include IPython/.git_commit_info.ini |
|
23 | include IPython/.git_commit_info.ini | |
15 |
|
24 | |||
16 | # Documentation |
|
25 | # Documentation | |
17 | graft docs |
|
26 | graft docs | |
18 | exclude docs/\#* |
|
27 | exclude docs/\#* | |
19 | exclude docs/man/*.1.gz |
|
28 | exclude docs/man/*.1.gz | |
20 |
|
29 | |||
21 | # Examples |
|
30 | # Examples | |
22 | graft examples |
|
31 | graft examples | |
23 |
|
32 | |||
24 | # docs subdirs we want to skip |
|
33 | # docs subdirs we want to skip | |
25 | prune docs/build |
|
34 | prune docs/build | |
26 | prune docs/gh-pages |
|
35 | prune docs/gh-pages | |
27 | prune docs/dist |
|
36 | prune docs/dist | |
28 |
|
37 | |||
29 | # Patterns to exclude from any directory |
|
38 | # Patterns to exclude from any directory | |
30 | global-exclude *~ |
|
39 | global-exclude *~ | |
31 | global-exclude *.flc |
|
40 | global-exclude *.flc | |
|
41 | global-exclude *.yml | |||
32 | global-exclude *.pyc |
|
42 | global-exclude *.pyc | |
33 | global-exclude *.pyo |
|
43 | global-exclude *.pyo | |
34 | global-exclude .dircopy.log |
|
44 | global-exclude .dircopy.log | |
35 | global-exclude .git |
|
45 | global-exclude .git | |
36 | global-exclude .ipynb_checkpoints |
|
46 | global-exclude .ipynb_checkpoints |
General Comments 0
You need to be logged in to leave comments.
Login now